Files
Marcin Bernatowicz 72207463f7 drm/xe/pf: Keep VF LMEM BAR size low if no VFs enabled
When VFs are enabled on dGFX the driver resizes the PF VF_LMEM_BAR to
fit the requested layout. After VFs are disabled the PF VF BAR
size is left as-is. On platforms with tight MMIO apertures a
subsequent unplug/rescan followed by another enable may fail with:

  "VF BAR …: can't assign; no space"

because the PCI core reserves address space based on the (now large) VF
template, often multiplied by totalvfs.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/5937
Fixes: 94eae6ee4c ("drm/xe/pf: Set VF LMEM BAR size")
Signed-off-by: Marcin Bernatowicz <[email protected]>
Cc: Michał Wajdeczko <[email protected]>
Cc: Michał Winiarski <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
(cherry picked from commit 0646547a67d25c407f5a4ac71b4eefe8b941202b)
Signed-off-by: Rodrigo Vivi <[email protected]>
2026-09-28 10:19:35 -04:00
..
2026-07-11 16:15:27 +02:00
2026-08-13 14:56:33 +02:00
…
…
…
…
…
…
…
…
2026-03-30 11:00:45 +02:00
…
…
2026-09-16 08:46:16 -04:00
…
…
…
2026-08-20 10:58:44 +10:00
…
…
…
…
…
…
2026-07-17 18:34:00 -07:00
…
…
…
…
…
…
2026-08-20 10:58:44 +10:00
…
…
…
…
2026-07-14 15:18:51 +02:00
2026-05-27 21:28:01 +02:00
…