OSDN Git Service

drm/amdgpu: disable power control on hybrid laptops
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jun 2016 16:28:13 +0000 (12:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:50:59 +0000 (14:50 -0400)
commit5c614792474bf80b87d6cd915d9db14406c9c779
treeb86e84008c8afc11b4960bc414a64e6d18008601
parent662ce7bce7a4dac4a9587fb78a745c061a402b7f
drm/amdgpu: 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/amd/amdgpu/amdgpu_atpx_handler.c