drm/radeon: disable power control on hybrid laptops
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jun 2016 16:20:16 +0000 (12:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:03 +0000 (14:51 -0400)
commitcf26f9081fd7412f19a836af47567e680fcd269d
tree0456250c470147f162aea251942dd5e0ac9d64ed
parentd85555f8851e7e9af05bb8dfa43f5e7e05e35292
drm/radeon: disable power control on hybrid laptops

Windows 10 (and some 8.1) systems use standardized
ACPI calls for hybrid laptops to control dGPU power.
Detect those cases and disable the AMD specific ATPX
power control.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_atpx_handler.c