<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Distorted colours after suspend / resume cycle"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98832#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Distorted colours after suspend / resume cycle"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98832">bug 98832</a>
from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
<pre>Seems I actually forgot to post my last comment…
So I added various versions of:
printk(KERN_ALERT "JMG - %s:%d: ...\n", __FUNCTION__, __LINE__, ....);
And it seems the problem occurs less often now, which is adding to my suspicion
of a race condition, as DPMS wake-up doesn't always show broken colours.
I couldn't really identify a place with a missing radeon_crtc_load_lut
[Mo Dez 5 16:10:43 2016] JMG - dce5_crtc_load_lut:108: 0
[Mo Dez 5 16:12:56 2016] JMG - atombios_crtc_dpms:294: 3 (off)
[Mo Dez 5 16:12:56 2016] JMG - atombios_crtc_dpms:294: 1 (standby)
[Mo Dez 5 16:13:56 2016] JMG - atombios_crtc_dpms:294: 2 (suspend)
[Mo Dez 5 16:14:56 2016] JMG - atombios_crtc_dpms:294: 3 (off)
[Mo Dez 5 16:45:52 2016] JMG - atombios_crtc_dpms:294: 0 (on)
[Mo Dez 5 16:45:52 2016] JMG - radeon_crtc_load_lut:196: 1
[Mo Dez 5 16:45:52 2016] JMG - dce5_crtc_load_lut:108: 0
This was definitely calling dce5_crtc_load_lut, but nevertheless the colours
were wrong.
I'm not sure why "atombios_crtc_dpms:294: 3" is called twice, probably also for
the inactive port?
I couldn't reproduce by just waiting for 5 minutes or setting radeon.dpm=0.
So we did a rollout for my few test machines a few days ago with disabled dpm.
Currently the feedback is positive, so we're planing to do the rollout to our
few thousand machines next year.
I'm not caring that much about the suspend / resume, but the broken colours
after DPMS (so no suspend involved) are highly irritating for the users.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>