PCI: remove redundant resource assignments done after BAR resize
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI/sysfs: Remove resource assignment after BAR resizedrivers/ | +0 | 0 replies | |
| 2/3 | drm/xe: Remove driver side resource assignment after BAR resizedrivers/ | +0 | 1 reply | |
| 3/3 | drm/i915: Remove driver side resource assignment after BAR resizedrivers/ | +0 | 1 reply |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Joonas Lahtinen | Rodrigo Vivi |
|---|---|---|
| 1/3 | ||
| 2/3 | A-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] PCI: remove redundant resource assignments done after BAR resize
The BAR resize rework removed the resource assignment call that followed the BAR resize in amdgpu. The xe and i915 drivers and the PCI sysfs resize interface still make the same call.
The current BAR resize code should properly assign all resources and handle fallback gracefully so a driver-side call to assign resource right after BAR resize is just duplicate work (no-op). If that isn't the case somewhere, the fix belongs either the BAR resize code or the code that left the resource unassigned (e.g. a hotplug race or whatever left an resource unassigned prior to resize).
If drm wants to take their patches out of these, it's fine with me (either drm+pci or through pci tree only works for me).
Ilpo Järvinen (3):
PCI/sysfs: Remove resource assignment after BAR resize drm/xe: Remove driver side resource assignment after BAR resize drm/i915: Remove driver side resource assignment after BAR resize
drivers/gpu/drm/i915/gt/intel_region_lmem.c | 1 - drivers/gpu/drm/xe/xe_pci_rebar.c | 2 -- drivers/pci/pci-sysfs.c | 3 --- 3 files changed, 6 deletions(-)
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
Signature · 1 line
2.47.3