From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 199959] amdgpu, regression?: system freezes after resume
Date: Sat, 09 Jun 2018 09:37:07 +0000 [thread overview]
Message-ID: <bug-199959-2300-ZQY9mky0kh@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-199959-2300@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=199959
--- Comment #13 from Christian König (christian.koenig@amd.com) ---
(In reply to Alexander Mezin from comment #11)
> I literally have no idea what I'm doing, but adding
> 'amdgpu_device_resize_fb_bar(adev);' line to all 'gmc_v?_?_resume()'
> (because I don't know which version is used for my card) "fixed" it somehow.
> Resume works, but there are some artifacts on screen during resume (they
> flash only once and then disappear). Before 'amdgpu_device_resize_fb_bar'
> was introduced, there were no artifacts at all.
Hehe, yeah that was a really nice test and confirms my suspicion on what's
going wrong here.
Because you tried to resize the BAR once more after resume the resources in the
address space are freed up and allocated again:
[ 212.484672] amdgpu 0000:65:00.0: BAR 2: releasing [mem
0xe200000000-0xe2001fffff 64bit pref]
[ 212.484673] amdgpu 0000:65:00.0: BAR 0: releasing [mem
0xe000000000-0xe1ffffffff 64bit pref]
[ 212.484683] pcieport 0000:64:00.0: BAR 15: releasing [mem
0xe000000000-0xe2ffffffff 64bit pref]
[ 212.484691] pcieport 0000:64:00.0: BAR 15: assigned [mem
0xe000000000-0xe2ffffffff 64bit pref]
[ 212.484692] amdgpu 0000:65:00.0: BAR 0: assigned [mem
0xe000000000-0xe1ffffffff 64bit pref]
[ 212.484697] amdgpu 0000:65:00.0: BAR 2: assigned [mem
0xe200000000-0xe2001fffff 64bit pref]
Since it allocates the exact same address we freed up before the real issue is
not the address itself, but that fact that the hardware config isn't saved
during suspend/resume.
That strongly looks like a bug in the BIOS and/or the Linux PCI subsystem
driver for Intel hardware to me.
I will try to narrow this down with a few patches on Monday, but don't expect
any quick fix.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-06-09 9:37 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-07 0:45 [Bug 199959] New: amdgpu, regression?: system freezes after resume bugzilla-daemon
2018-06-07 3:03 ` [Bug 199959] " bugzilla-daemon
2018-06-07 3:04 ` bugzilla-daemon
2018-06-07 3:05 ` bugzilla-daemon
2018-06-07 3:26 ` bugzilla-daemon
2018-06-07 7:54 ` bugzilla-daemon
2018-06-08 4:13 ` bugzilla-daemon
2018-06-08 7:53 ` bugzilla-daemon
2018-06-08 11:13 ` bugzilla-daemon
2018-06-08 11:14 ` bugzilla-daemon
2018-06-08 12:02 ` bugzilla-daemon
2018-06-09 0:36 ` bugzilla-daemon
2018-06-09 3:31 ` bugzilla-daemon
2018-06-09 5:18 ` bugzilla-daemon
2018-06-09 5:47 ` bugzilla-daemon
2018-06-09 9:37 ` bugzilla-daemon [this message]
2018-06-11 14:22 ` bugzilla-daemon
2018-06-12 0:40 ` bugzilla-daemon
2018-06-12 8:12 ` bugzilla-daemon
2018-06-13 2:38 ` bugzilla-daemon
2018-06-13 2:39 ` bugzilla-daemon
2018-06-13 2:39 ` bugzilla-daemon
2018-06-13 2:39 ` bugzilla-daemon
2018-06-13 3:42 ` bugzilla-daemon
2018-06-14 8:38 ` bugzilla-daemon
2018-06-14 9:55 ` bugzilla-daemon
2018-06-14 10:02 ` bugzilla-daemon
2018-06-14 10:17 ` bugzilla-daemon
2018-06-19 14:13 ` bugzilla-daemon
2018-06-30 1:46 ` bugzilla-daemon
2018-08-26 0:34 ` 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-199959-2300-ZQY9mky0kh@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.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;
as well as URLs for NNTP newsgroup(s).