]> 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)
commit349858d2401b914d57d0848f3ed871768c9aa116
tree2bf8a0c88ddc3f74891cc9ded731ed45a6eb5ea3
parentac0f46ea0955542bce22d7a750097cc148a670f9
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