Hi @Ganesh3955
1. I confirmed with internal team before: The i.MX95 features two independent PCIe Gen 3 x1 controllers that cannot be aggregated into a single x2 link; your boot logs also clearly show that the negotiation result for this link is “PCIe Gen 3 x1 link up.”
2. According to lspci -vvv, the maximum supported size for BAR0 under Resizable BAR is only 4GB, not 8GB. Your log already states this clearly: BAR 0: current size: 256MB, supported: 256MB 512MB 1GB 2GB 4GB.
3. As mentioned in the discussions regarding amd-gfx, amdgpu attempts to set the GPU's BAR0 to the largest possible value; if there is insufficient space or the device does not support a larger size, it falls back.
https://lists.freedesktop.org/archives/amd-gfx/2020-December/057339.html
Based on the current logs, it’s not that amdgpu doesn’t want to expand, but rather that the contiguous 64-bit prefetchable space following the RC is insufficient, non-contiguous, or does not meet alignment requirements. The starting address of your current window is 0x10000000 (PCI-side), which is not a 4GB naturally aligned boundary.
Best Regards,
Zhiming