mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-24 05:02:27 -04:00
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 <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>
This commit is contained in:
committed by
Lucas De Marchi
parent
1553d6c588
commit
f4e9acaa5d
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user