[Bug 199959] amdgpu, regression?: system freezes after resume

2018-08-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 Aleksandr Mezin (mezin.alexan...@gmail.com) changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #27 from Alexander Mezin (mezin.alexan...@gmail.com) --- So the patch will only land in 4.19. Are you going to fix the regression (in amdgpu) for 4.15-4.18 somehow? -- You are receiving this mail because: You are watching the

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 Joern Hoffmann (j.hoffm...@quapona.com) changed: What|Removed |Added CC|

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #25 from Alexander Mezin (mezin.alexan...@gmail.com) --- Yes, it works dmesg: [ 34.330683] amdgpu :65:00.0: Test 0 from 8 to 13 -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #24 from Christian König (christian.koe...@amd.com) --- Created attachment 276547 --> https://bugzilla.kernel.org/attachment.cgi?id=276547=edit Possible fix In this case please try the attached patch and see if it helps. -- You

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #23 from Alexander Mezin (mezin.alexan...@gmail.com) --- (In reply to Christian König from comment #22) > Your debugging efforts are better than mine. > > Please provide the output of "sudo setpci -s 65:00.0 ECAP15.l ECAP15+4.l >

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #22 from Christian König (christian.koe...@amd.com) --- Your debugging efforts are better than mine. Please provide the output of "sudo setpci -s 65:00.0 ECAP15.l ECAP15+4.l ECAP15+8.l" once before suspend and once after suspend

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #21 from Alexander Mezin (mezin.alexan...@gmail.com) --- Not sure if it'll help, but I've added more logging here: --- a/drivers/pci/setup-res.c +++ b/drivers/pci/setup-res.c @@ -436,6 +436,8 @@ int pci_resize_resource(struct pci_dev

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #20 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276521 --> https://bugzilla.kernel.org/attachment.cgi?id=276521=edit lspci after resume with hack -- You are receiving this mail because: You are watching

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #19 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276519 --> https://bugzilla.kernel.org/attachment.cgi?id=276519=edit lspci after resume, no hack -- You are receiving this mail because: You are watching

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #18 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276517 --> https://bugzilla.kernel.org/attachment.cgi?id=276517=edit lspci before suspend -- You are receiving this mail because: You are watching the

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #17 from Alexander Mezin (mezin.alexan...@gmail.com) --- setpci - exactly the same output in all 3 cases (verified with 'diff' to be sure): 0407 0001 fff1 00e0 00e2 -- You are receiving this mail because: You are watching

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #16 from Christian König (christian.koe...@amd.com) --- So the problem seems to be the bridge then. Please provide me with the output of the following commands, once before you suspended, once after you resumed without any change and

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #15 from Alexander Mezin (mezin.alexan...@gmail.com) --- No, it doesn't change anything, system freezes on resume. -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #14 from Christian König (christian.koe...@amd.com) --- Created attachment 276471 --> https://bugzilla.kernel.org/attachment.cgi?id=276471=edit Testing patch Please test if this patch helps as well. It limits the work done during

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #13 from Christian König (christian.koe...@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()' >

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #12 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276415 --> https://bugzilla.kernel.org/attachment.cgi?id=276415=edit dmesg: resume with device_resize_fb_bar() in gmc_v?_?_resume() -- You are receiving

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #11 from Alexander Mezin (mezin.alexan...@gmail.com) --- 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)

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #10 from Alexander Mezin (mezin.alexan...@gmail.com) --- Actually, sometimes mouse pointer moves, and only freezes after I press a few keys/click a few times. Also, sometimes it's just colored pattern instead of the lock screen on the

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #9 from Alexander Mezin (mezin.alexan...@gmail.com) --- It seems that only GPU is hung, I can even SSH to the machine. But things like restarting gdm/Xorg/unplugging the monitor didn't "fix" it. "shutdown -h now" didn't work. -- You

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #8 from Christian König (christian.koe...@amd.com) --- Mhm, I've tried the same ASIC (Polaris 10 8gb) in an AMD Threadripper and here it is working quite fine with suspend/resume. So the only explanation I have is that this is some

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #7 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276393 --> https://bugzilla.kernel.org/attachment.cgi?id=276393=edit /proc/iomem -- You are receiving this mail because: You are watching the assignee of

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #6 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276391 --> https://bugzilla.kernel.org/attachment.cgi?id=276391=edit lspci -t -v -nn -- You are receiving this mail because: You are watching the assignee

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #5 from Christian König (christian.koe...@amd.com) --- Ok, well that is interesting. Please provide the output of "sudo cat /proc/iomem" and "lspci -t -v -nn". In the meantime I will try to reproduce the issue here. -- You are

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #4 from Alexander Mezin (mezin.alexan...@gmail.com) --- Commit d6895ad39f3b396be199f5b6fdfb8cde4be7bbf7 seems to be the cause. Resume works on 4.16 if I revert that single commit (tested on 4.16.0, 4.16.13, with both amdgpu.dc=0 and

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 Christian König (christian.koe...@amd.com) changed: What|Removed |Added CC|

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 Alexander Mezin (mezin.alexan...@gmail.com) changed: What|Removed |Added Kernel Version|4.17|4.16 --

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 Alexander Mezin (mezin.alexan...@gmail.com) changed: What|Removed |Added Regression|No |Yes --

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #2 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276363 --> https://bugzilla.kernel.org/attachment.cgi?id=276363=edit Failed resume - 4.16, amdgpu.dc=0 -- You are receiving this mail because: You are

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #1 from Alexander Mezin (mezin.alexan...@gmail.com) --- Just tested 4.15.15 and 4.16 On 4.15.15 suspend and resume works fine On 4.16 the system freezes even with amdgpu.dc=0 Note that Arch has CONFIG_DRM_AMD_DC=y