From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 103102] Cannot wake-up with an AMD RX 480 on Linux 4.13 and Linux 4.14
Date: Fri, 13 Oct 2017 20:11:51 +0000 [thread overview]
Message-ID: <bug-103102-502-AYhWmnUQpT@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-103102-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1814 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103102
--- Comment #10 from Hadrien <freedesktop@psydk.org> ---
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
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/ 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 https://bugzilla.kernel.org/show_bug.cgi?id=196615
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2786 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-10-13 20:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-04 18:52 [Bug 103102] Cannot wake-up with an AMD RX 480 on Linux 4.13 and Linux 4.14 bugzilla-daemon
2017-10-05 18:34 ` bugzilla-daemon
2017-10-05 19:11 ` bugzilla-daemon
2017-10-05 19:12 ` bugzilla-daemon
2017-10-05 19:12 ` bugzilla-daemon
2017-10-05 19:25 ` bugzilla-daemon
2017-10-09 19:47 ` bugzilla-daemon
2017-10-11 17:00 ` bugzilla-daemon
2017-10-11 17:14 ` bugzilla-daemon
2017-10-11 19:54 ` bugzilla-daemon
2017-10-13 20:11 ` bugzilla-daemon [this message]
2017-10-14 16:57 ` bugzilla-daemon
2017-10-21 8:05 ` bugzilla-daemon
2017-12-07 22:08 ` bugzilla-daemon
2017-12-08 13:50 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-103102-502-AYhWmnUQpT@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox