]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: disable runtime pm on PX laptops without dGPU power control
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2016 16:47:29 +0000 (11:47 -0500)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:51 +0000 (08:50 -0400)
commit0dd18e03c1bdfe39f01b2e56dc66c3be90fa67a0
tree166461def0e68e83c13a952e89c3108de73d1d7f
parent88e2df1b99cfc0087ccd2faa8ca61d7263fc007a
drm/radeon: disable runtime pm on PX laptops without dGPU power control

[ Upstream commit e64c952efb8e0c15ae82cec8e455ab4910690ef1 ]

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>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/radeon/radeon_atpx_handler.c
drivers/gpu/drm/radeon/radeon_device.c