Commit f4e9acaa authored by Matt Roper's avatar Matt Roper Committed by Lucas De Marchi
Browse files

drm/xe/xe3p: Stop programming RCU_MODE's fixed slice mode setting



Since the hardware load balancing is no longer supported, the
programming in RCU_MODE is no longer necessary.

Bspec: 60382
Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Reviewed-by: default avatarBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Link: https://lore.kernel.org/r/20251016-xe3p-v3-7-3dd173a3097a@intel.com


Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent 1553d6c5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -350,6 +350,13 @@ static bool xe_hw_engine_match_fixed_cslice_mode(const struct xe_device *xe,
						 const struct xe_gt *gt,
						 const struct xe_hw_engine *hwe)
{
	/*
	 * Xe3p no longer supports load balance mode, so "fixed cslice" mode
	 * is automatic and no RCU_MODE programming is required.
	 */
	if (GRAPHICS_VER(gt_to_xe(gt)) >= 35)
		return false;

	return xe_gt_ccs_mode_enabled(gt) &&
	       xe_rtp_match_first_render_or_compute(xe, gt, hwe);
}