diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-06-13 11:03:55 -0700 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:34:53 -0500 |
commit | 898f86c23c600c8f70bf1a03e81a7be97038a72d (patch) | |
tree | 09b7635a6efd95eb3320f3e20016a899c6f28772 | |
parent | 8489f30e0c8e47d2d654cfb31825ff37de7e5574 (diff) |
drm/xe: Skip applying copy engine fuses
Like commit 69a3738ba57f ("drm/i915: Skip applying copy engine fuses"),
do not apply copy engine fuses for platforms where MEML3_EN is not
relevant for determining the presence of the copy engines.
Acked-by: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20230613180356.2906441-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
-rw-r--r-- | drivers/gpu/drm/xe/xe_hw_engine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c index 68cd793cdfb5..b7b02c96e998 100644 --- a/drivers/gpu/drm/xe/xe_hw_engine.c +++ b/drivers/gpu/drm/xe/xe_hw_engine.c @@ -492,6 +492,9 @@ static void read_copy_fuses(struct xe_gt *gt) struct xe_device *xe = gt_to_xe(gt); u32 bcs_mask; + if (GRAPHICS_VERx100(xe) < 1260 || GRAPHICS_VERx100(xe) >= 1270) + return; + xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); bcs_mask = xe_mmio_read32(gt, MIRROR_FUSE3); |