drm/xe/vf: Use register values obtained from the PF
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 23 May 2024 19:22:35 +0000 (21:22 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 24 May 2024 08:02:26 +0000 (10:02 +0200)
commit4edadc41a3a444566cbf1f5204867a9c8f44b255
tree3554a2a5d9d416ea9d2bcca52b1193fa277eb0db
parentb0ac1b42dbdcc990ad32d6f8107a1d5214c33e67
drm/xe/vf: Use register values obtained from the PF

As part of the its initialization, the VF driver has already
obtained a list of the runtime (fuse) register values from the
PF driver. When VF driver is attempting to read register that is
inaccessible to the VF, use the values from this list instead.

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/20240523192240.844-2-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_mmio.c