Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] VF: Setup VRAM based on received config data
@ 2024-05-27 17:35 Michal Wajdeczko
  2024-05-27 17:35 ` [PATCH 1/5] drm/xe: Move XEHP_MTCFG_ADDR register definition to xe_regs.h Michal Wajdeczko
                   ` (12 more replies)
  0 siblings, 13 replies; 27+ messages in thread
From: Michal Wajdeczko @ 2024-05-27 17:35 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko

VF drivers will obtain VRAM configuration from the GuC as part of
the VF self config. Use that configuration instead of trying to
read inaccessible registers.

But before doing that, do some cleanup of the VRAM probe code.

Michal Wajdeczko (5):
  drm/xe: Move XEHP_MTCFG_ADDR register definition to xe_regs.h
  drm/xe: Move BAR definitions to dedicated file
  drm/xe: Promote VRAM initialization function to own file
  drm/xe: Rename internal vram helper function
  drm/xe/vf: Setup VRAM based on received config data

 drivers/gpu/drm/xe/Makefile            |   1 +
 drivers/gpu/drm/xe/regs/xe_bars.h      |  11 +
 drivers/gpu/drm/xe/regs/xe_regs.h      |   3 +
 drivers/gpu/drm/xe/xe_device.c         |   3 +-
 drivers/gpu/drm/xe/xe_gt_sriov_vf.c    |  17 ++
 drivers/gpu/drm/xe/xe_gt_sriov_vf.h    |   1 +
 drivers/gpu/drm/xe/xe_mmio.c           | 339 +----------------------
 drivers/gpu/drm/xe/xe_mmio.h           |   2 -
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c |   1 +
 drivers/gpu/drm/xe/xe_vram.c           | 368 +++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_vram.h           |  13 +
 11 files changed, 421 insertions(+), 338 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/regs/xe_bars.h
 create mode 100644 drivers/gpu/drm/xe/xe_vram.c
 create mode 100644 drivers/gpu/drm/xe/xe_vram.h

-- 
2.43.0


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2024-05-29 20:03 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27 17:35 [PATCH 0/5] VF: Setup VRAM based on received config data Michal Wajdeczko
2024-05-27 17:35 ` [PATCH 1/5] drm/xe: Move XEHP_MTCFG_ADDR register definition to xe_regs.h Michal Wajdeczko
2024-05-28 21:14   ` Matt Roper
2024-05-27 17:35 ` [PATCH 2/5] drm/xe: Move BAR definitions to dedicated file Michal Wajdeczko
2024-05-28 21:18   ` Matt Roper
2024-05-27 17:35 ` [PATCH 3/5] drm/xe: Promote VRAM initialization function to own file Michal Wajdeczko
2024-05-28 21:27   ` Matt Roper
2024-05-27 17:35 ` [PATCH 4/5] drm/xe: Rename internal vram helper function Michal Wajdeczko
2024-05-28 21:35   ` Matt Roper
2024-05-28 22:15     ` Matthew Brost
2024-05-29 11:25       ` Michal Wajdeczko
2024-05-29 11:50         ` Jani Nikula
2024-05-29 12:45           ` Michal Wajdeczko
2024-05-29 12:52             ` Jani Nikula
2024-05-29 16:22               ` Lucas De Marchi
2024-05-29 18:01                 ` Jani Nikula
2024-05-29 20:03                   ` Lucas De Marchi
2024-05-27 17:35 ` [PATCH 5/5] drm/xe/vf: Setup VRAM based on received config data Michal Wajdeczko
2024-05-28 21:50   ` Matt Roper
2024-05-27 17:42 ` ✓ CI.Patch_applied: success for VF: " Patchwork
2024-05-27 17:42 ` ✗ CI.checkpatch: warning " Patchwork
2024-05-27 17:43 ` ✓ CI.KUnit: success " Patchwork
2024-05-27 17:55 ` ✓ CI.Build: " Patchwork
2024-05-27 17:55 ` ✗ CI.Hooks: failure " Patchwork
2024-05-27 17:57 ` ✓ CI.checksparse: success " Patchwork
2024-05-27 18:28 ` ✗ CI.BAT: failure " Patchwork
2024-05-27 19:38 ` ✗ CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox