]> git.itanic.dy.fi Git - linux-stable/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 14:33:41 +0000 (07:33 -0700)
commit4eda74c8f554de83f7a99bb1b3582faea359bd8f
treee3bee3ccf1710a779f0e634dfc04f3430f1db2e8
parent43b98d3da00ba39c8231b072e95fa6dda800563f
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