]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/amdgpu: disable runtime pm on PX laptops without dGPU power control
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2016 17:10:20 +0000 (12:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:08:59 +0000 (09:08 -0700)
commit5b5abb9b85e97630e07b2b6d33f4739a2eb4e872
tree9bfe609792d800c97259f1fe8a9e84bb16aa22ef
parenta4ecd0324b3cdea3abc4b0f5d7e2829530400317
drm/amdgpu: disable runtime pm on PX laptops without dGPU power control

commit bedf2a65c1aa8fb29ba8527fd00c0f68ec1f55f1 upstream.

Some PX laptops don't provide an ACPI method to control dGPU power.  On
those systems, the driver is responsible for handling the dGPU power
state.  Disable runtime PM on them until support for this is implemented.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c