[Intel-xe] [PATCH] drm/xe: Unlink display before turning off irq

Jani Nikula jani.nikula at linux.intel.com
Wed May 10 13:09:11 UTC 2023


On Wed, 10 May 2023, Nirmoy Das <nirmoy.das at intel.com> wrote:
> Unlinking display will lead to guc tlb inval timeout for
> the fbdev vma as irqs are disabled.

fixup to display enabling?

BR,
Jani.

>
> Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
> ---
>  drivers/gpu/drm/xe/xe_device.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index 32cc83c43b2a..430bd6eb4053 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -349,9 +349,9 @@ void xe_device_remove(struct xe_device *xe)
>  {
>  	xe_device_remove_display(xe);
>  
> -	xe_irq_shutdown(xe);
> -
>  	xe_display_unlink(xe);
> +
> +	xe_irq_shutdown(xe);
>  }
>  
>  void xe_device_shutdown(struct xe_device *xe)

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-xe mailing list