]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/xe3p: Stop programming RCU_MODE's fixed slice mode setting
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 17 Oct 2025 02:26:26 +0000 (19:26 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 Oct 2025 22:32:38 +0000 (15:32 -0700)
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 <matthew.d.roper@intel.com>
Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Link: https://lore.kernel.org/r/20251016-xe3p-v3-7-3dd173a3097a@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_hw_engine.c

index cba4375525c7e05f24748f666af32cf9e98db397..b08a6d42c8ffcf9a3a80be2deb5eb8b76d96b5a5 100644 (file)
@@ -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);
 }