]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/vf: Stop applying save-restore MMIOs if VF
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 3 Mar 2025 17:35:21 +0000 (18:35 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 12 Mar 2025 10:37:52 +0000 (11:37 +0100)
commitc19e705ec9815896abed94b929a843a0b3010651
tree6518ecb7128326bd90a43da2c936b0f1af74a12d
parentf2f90989ccff2d010472d47e4e62f7afe8ce67ff
drm/xe/vf: Stop applying save-restore MMIOs if VF

Currently we are blocking processing of all save-restore rules
by the VFs inside the xe_rtp_process_to_sr() function, but we
want to unblock that to allow processing of the LRC WA rules.

To avoid hitting WARNs about reading an inaccessible registers by
the VFs, stop applying save-restore MMIOs action if VF, without
relying that SR list will be always empty for the VF.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250303173522.1822-5-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_reg_sr.c