Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] VF: Setup VRAM based on received config data
@ 2024-05-30 13:35 Michal Wajdeczko
  2024-05-30 13:35 ` [PATCH v2 1/5] drm/xe: Move XEHP_MTCFG_ADDR register definition to xe_regs.h Michal Wajdeczko
                   ` (12 more replies)
  0 siblings, 13 replies; 16+ messages in thread
From: Michal Wajdeczko @ 2024-05-30 13: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.

v1: https://patchwork.freedesktop.org/series/134097/#rev1
v2: rename xe_mmio.c static functions before move to xe_vram.c

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: Drop xe_ prefix from static functions in xe_mmio.c
  drm/xe: Promote VRAM initialization function to own file
  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] 16+ messages in thread

end of thread, other threads:[~2024-05-30 21:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 13:35 [PATCH v2 0/5] VF: Setup VRAM based on received config data Michal Wajdeczko
2024-05-30 13:35 ` [PATCH v2 1/5] drm/xe: Move XEHP_MTCFG_ADDR register definition to xe_regs.h Michal Wajdeczko
2024-05-30 13:35 ` [PATCH v2 2/5] drm/xe: Move BAR definitions to dedicated file Michal Wajdeczko
2024-05-30 13:35 ` [PATCH v2 3/5] drm/xe: Drop xe_ prefix from static functions in xe_mmio.c Michal Wajdeczko
2024-05-30 15:25   ` Matt Roper
2024-05-30 13:35 ` [PATCH v2 4/5] drm/xe: Promote VRAM initialization function to own file Michal Wajdeczko
2024-05-30 13:35 ` [PATCH v2 5/5] drm/xe/vf: Setup VRAM based on received config data Michal Wajdeczko
2024-05-30 14:14 ` ✓ CI.Patch_applied: success for VF: Setup VRAM based on received config data (rev2) Patchwork
2024-05-30 14:14 ` ✗ CI.checkpatch: warning " Patchwork
2024-05-30 14:15 ` ✓ CI.KUnit: success " Patchwork
2024-05-30 14:27 ` ✓ CI.Build: " Patchwork
2024-05-30 14:27 ` ✗ CI.Hooks: failure " Patchwork
2024-05-30 14:28 ` ✓ CI.checksparse: success " Patchwork
2024-05-30 14:52 ` ✓ CI.BAT: " Patchwork
2024-05-30 17:08 ` ✗ CI.FULL: failure " Patchwork
2024-05-30 21:45   ` Michal Wajdeczko

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