[Intel-xe] [PATCH 4/5] drm/xe: Skip applying copy engine fuses
Gustavo Sousa
gustavo.sousa at intel.com
Tue Jun 13 14:04:17 UTC 2023
Quoting Lucas De Marchi (2023-06-11 19:24:46-03:00)
>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.
>
>Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Gustavo Sousa <gustavo.sousa at intel.com>
>---
> drivers/gpu/drm/xe/xe_hw_engine.c | 3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c
>index b42a0cb50159..d3a8dfa1d2cc 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);
>--
>2.40.1
>
More information about the Intel-xe
mailing list