drm/xe/vf: Unblock xe_rtp_process_to_sr for VFs
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 11 Mar 2025 10:52:21 +0000 (11:52 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 12 Mar 2025 10:37:53 +0000 (11:37 +0100)
commit92a5bd302458a1663daaad36994373e2ff0df5be
tree78818252fc66793d708491f0fc78021bd79a72a8
parentc19e705ec9815896abed94b929a843a0b3010651
drm/xe/vf: Unblock xe_rtp_process_to_sr for VFs

In commit 9632dfb0def4 ("drm/xe/vf: Don't run any save-restore
RTP actions if VF") we disabled processing of all RTP rules if
we were running as a VFs, since many of the RTP actions were
trying to access registers unaccessible for VFs.

This also included all of LRC WA rules, since some of them were
implemented in a way that required RMW pattern.

Now, as we can program LRC WAs without accessing such registers
from the driver, relying on the MI_MATH instruction instead, we
can unblock xe_rtp_process_to_sr() for VFs.

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/20250311105221.1910-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_rtp.c