https://bugs.freedesktop.org/show_bug.cgi?id=110822
--- Comment #19 from Alex Deucher alexdeucher@gmail.com --- (In reply to Gobinda Joy from comment #18)
What I don't get is why they are using 2 calls to get the bandwidth reading. Since both function walking the PCIe tree what's the point. Also it seems like the call to pcie_bandwidth_available() function is casing the freeze/hangs in my system. So that's counts for something.
Can you try a drm-next kernel? This code was ultimately cleaned in this patch: https://cgit.freedesktop.org/drm/drm/commit/?id=dbaa922b5706b1aff4572c280e15... I don't know why pcie_bandwidth_available() is causing problems for you, it's just standard PCIE stuff.