[Intel-xe] [PATCH v2 1/2] drm/xe: Skip applying copy engine fuses

Matt Roper matthew.d.roper at intel.com
Wed Jun 14 20:59:18 UTC 2023


On Tue, Jun 13, 2023 at 11:03:55AM -0700, Lucas De Marchi wrote:
> 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 at intel.com>
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

Reviewed-by: Matt Roper <matthew.d.roper 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 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);
> -- 
> 2.40.1
> 

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


More information about the Intel-xe mailing list