--- Comment #21 from Alexander Mezin ( ---
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
        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.
dri-devel mailing list

Reply via email to