[PATCH 4/9] drm/xe/vf: Don't change hwe IRQ masks if using memory IRQs

Piotr Piórkowski piotr.piorkowski at intel.com
Thu Jun 20 09:29:05 UTC 2024


Michal Wajdeczko <michal.wajdeczko at intel.com> wrote on śro [2024-cze-19 23:45:52 +0200]:
> We currently do not support changing the engine interrupt enable
> mask on the per-engine basis when using memory based interrupts.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> ---
>  drivers/gpu/drm/xe/xe_irq.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c
> index 8ee3c300c5e4..ab3d5b7a1e8c 100644
> --- a/drivers/gpu/drm/xe/xe_irq.c
> +++ b/drivers/gpu/drm/xe/xe_irq.c
> @@ -134,6 +134,9 @@ void xe_irq_enable_hwe(struct xe_gt *gt)
>  	u32 gsc_mask = 0;
>  	u32 heci_mask = 0;
>  
> +	if (IS_SRIOV_VF(xe) && xe_device_has_memirq(xe))
> +		return;
> +
>  	if (xe_device_uc_enabled(xe)) {
>  		irqs = GT_RENDER_USER_INTERRUPT |
>  			GT_RENDER_PIPECTL_NOTIFY_INTERRUPT;

Reviewed-by: Piotr Piórkowski <piotr.piorkowski at intel.com>

> -- 
> 2.43.0
> 

-- 


More information about the Intel-xe mailing list