]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Skip ACPI call to ATIF when possible
authorJean Delvare <jdelvare@suse.de>
Wed, 30 Nov 2011 16:36:39 +0000 (17:36 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Dec 2011 09:57:34 +0000 (09:57 +0000)
commitaa0b3dec8a2ce0f23a55314496bf3c70e4f61545
tree2bf8a0c88ddc3f74891cc9ded731ed45a6eb5ea3
parentdea54eadb92c89e8233da0b5eb945104cba9a816
drm/radeon/kms: Skip ACPI call to ATIF when possible

I am under the impression that it only makes sense to call the ATIF
method if the graphics device has an ACPI handle attached. So we could
skip the call altogether if there is no such handle.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_acpi.c