[Bug 199959] amdgpu, regression?: system freezes after resume
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Wed Jun 13 03:42:03 UTC 2018
https://bugzilla.kernel.org/show_bug.cgi?id=199959
--- Comment #21 from Alexander Mezin (mezin.alexander at 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 *dev, int resno, int
size)
if (ret)
return ret;
+ pci_info(dev, "BAR %d: resized from %d to %d", resno, old, size);
+
res->end = res->start + pci_rebar_size_to_bytes(size) - 1;
/* Check if the new config works by trying to assign everything. */
And suspend-resume with "re-resize" hack shows this:
amdgpu 0000:65:00.0: BAR 0: resized from 8 to 13
(this message appears in dmesg two times, first one on boot, second one during
resume, exactly the same message in both cases)
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list