]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/vf: Setup VRAM based on received config data
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 30 May 2024 13:35:27 +0000 (15:35 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 30 May 2024 21:50:31 +0000 (23:50 +0200)
commit9d85821a58f4ff2839d7d3290e0256c1b42dd9da
tree0e58de73181966bd02e0f6ec3e0101dbccd7e17e
parent638d1c79cbf15c14f1bcf98fd8135ea83a04dc50
drm/xe/vf: Setup VRAM based on received config data

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.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240530133527.1328-6-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
drivers/gpu/drm/xe/xe_gt_sriov_vf.h
drivers/gpu/drm/xe/xe_vram.c