Skip to content

Commit 92a5bd3

Browse files
committed
drm/xe/vf: Unblock xe_rtp_process_to_sr for VFs
In commit 9632dfb ("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
1 parent c19e705 commit 92a5bd3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/gpu/drm/xe/xe_rtp.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,6 @@ void xe_rtp_process_to_sr(struct xe_rtp_process_ctx *ctx,
258258

259259
rtp_get_context(ctx, &hwe, &gt, &xe);
260260

261-
if (IS_SRIOV_VF(xe))
262-
return;
263-
264261
xe_assert(xe, entries);
265262

266263
for (entry = entries; entry - entries < n_entries; entry++) {

0 commit comments

Comments
 (0)