Bug 116251

Summary: radeon 5a427809cd9143bef89ee3110f45e84f37484218 "drm/radeon: disable runtime pm on PX laptop" makes dGPU never stop
Product: Drivers Reporter: Eugene Shalygin (eugene.shalygin)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: alexdeucher, laszlo.kertesz
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 4.5.1 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: dmesg
possible fix

Description Eugene Shalygin 2016-04-14 02:35:55 UTC
Clevo P177SM, these two GPUs:

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Neptune XT [Radeon HD 8970M] (rev ff)

With kernel 4.5.1 the Radeon card is always on. Reverting 5a427809cd9143bef89ee3110f45e84f37484218 fixes the problem.
Comment 1 Michel Dänzer 2016-04-14 02:43:00 UTC
Duplicate of bug 115321.

(In reply to Eugene Shalygin from comment #0)
> With kernel 4.5.1 the Radeon card is always on. Reverting
> 5a427809cd9143bef89ee3110f45e84f37484218 fixes the problem.

I did warn Greg KH about this regression, but it looks like he backported the change anyway. :(
Comment 2 Alex Deucher 2016-04-14 03:24:56 UTC
Please attach your full dmesg output.
Comment 3 Eugene Shalygin 2016-04-14 12:12:09 UTC
Created attachment 212691 [details]
dmesg

dmesg with the commit reverted
Comment 4 Alex Deucher 2016-04-14 16:55:22 UTC
Created attachment 212711 [details]
possible fix

Please apply this patch on top of the patches from bug 115321.
Comment 5 Eugene Shalygin 2016-04-15 10:26:10 UTC
With the quirk it works, thank you.
Comment 6 Kertesz Laszlo 2016-04-26 14:49:48 UTC
The issue is present on Dell Latitude E6540 (Debian Testing installed).

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars XTX [Radeon HD 8790M] (rev ff)

Some more discussions about this here:
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/867738-kernel-4-5-radeon-runpm-not-working-properly-on-debian-testing
Comment 7 Alex Deucher 2016-04-26 14:52:51 UTC
The patch has been reverted:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bfaddd9fc8ac048b99475f000dbef6f08297417f
and will be reverted in stable branches as well.
Comment 8 Eugene Shalygin 2016-06-02 21:21:29 UTC
Works in 4.6.0