<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot wake-up with an AMD RX 480 on Linux 4.13 and Linux 4.14"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103102#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot wake-up with an AMD RX 480 on Linux 4.13 and Linux 4.14"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103102">bug 103102</a>
from <span class="vcard"><a class="email" href="mailto:freedesktop@psydk.org" title="Hadrien <freedesktop@psydk.org>"> <span class="fn">Hadrien</span></a>
</span></b>
<pre>I built v4.12.5 from
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git instead
of using a prebuilt kernel from
<a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/">http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/</a> and I unexpectedly faced
the problem.
I wonder why I cannot reproduce the problem with Ubuntu's version of kernel
4.12.5. Maybe there are some Ubuntu specific patches that hide the problem?
Anyway, I rebuilt v4.2.5 again but this time I removed the code from the commit
referenced on kernel.org Bugzilla:
------------------------------------------------------------------------------------------------------
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
index c0a806280257..f862e3d9cd93 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
@@ -838,9 +838,10 @@ static int amdgpu_cgs_get_active_displays_info(struct
cgs_device *cgs_device,
return -EINVAL;
mode_info = info->mode_info;
+
if (mode_info) {
/* if the displays are off, vblank time is max */
- mode_info->vblank_time_us = 0xffffffff;
+ /*mode_info->vblank_time_us = 0xffffffff;*/
/* always set the reference clock */
mode_info->ref_clock = adev->clock.spll.reference_freq;
}
------------------------------------------------------------------------------------------------------
And I cannot reproduce the problem anymore. So I guess this is actually the
same problem than <a href="https://bugzilla.kernel.org/show_bug.cgi?id=196615">https://bugzilla.kernel.org/show_bug.cgi?id=196615</a></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>