From: Matt Roper Date: Fri, 17 Oct 2025 02:26:26 +0000 (-0700) Subject: drm/xe/xe3p: Stop programming RCU_MODE's fixed slice mode setting X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f4e9acaa5dd58ea4635a2c4a84d188e2a374b807;p=thirdparty%2Fkernel%2Flinux.git 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: Matt Roper Reviewed-by: Balasubramani Vivekanandan Link: https://lore.kernel.org/r/20251016-xe3p-v3-7-3dd173a3097a@intel.com Signed-off-by: Lucas De Marchi --- diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c index cba4375525c7e..b08a6d42c8ffc 100644 --- a/drivers/gpu/drm/xe/xe_hw_engine.c +++ b/drivers/gpu/drm/xe/xe_hw_engine.c @@ -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); }