Bug 116251 - radeon 5a427809cd9143bef89ee3110f45e84f37484218 "drm/radeon: disable runtime pm on PX laptop" makes dGPU never stop
Summary: radeon 5a427809cd9143bef89ee3110f45e84f37484218 "drm/radeon: disable runtime ...
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-14 02:35 UTC by Eugene Shalygin
Modified: 2016-06-02 21:21 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.5.1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
dmesg (78.27 KB, application/octet-stream)
2016-04-14 12:12 UTC, Eugene Shalygin
Details
possible fix (1.06 KB, patch)
2016-04-14 16:55 UTC, Alex Deucher
Details | Diff

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

Note You need to log in before you can comment on or make changes to this bug.