[Intel-xe] [PATCH] drm/xe: Add missing spin_lock_inits for display

Souza, Jose jose.souza at intel.com
Fri Apr 14 15:12:06 UTC 2023


On Fri, 2023-04-14 at 17:00 +0200, Maarten Lankhorst wrote:
> We have gained 2 locks, better init those.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> ---
>  drivers/gpu/drm/xe/xe_display.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/xe_display.c
> index aae362f27c77..719a64005e29 100644
> --- a/drivers/gpu/drm/xe/xe_display.c
> +++ b/drivers/gpu/drm/xe/xe_display.c
> @@ -91,6 +91,8 @@ int xe_display_create(struct xe_device *xe)
>  	int err;
>  
>  	spin_lock_init(&xe->display.fb_tracking.lock);
> +	spin_lock_init(&xe->display.dkl.phy_lock);
> +	spin_lock_init(&xe->display.wm.dsparb_lock);


Already handling it:
i915 patches: https://patchwork.freedesktop.org/series/116272/
xe patches: https://patchwork.freedesktop.org/series/116275/


>  
>  	xe->display.hotplug.dp_wq = alloc_ordered_workqueue("xe-dp", 0);
>  



More information about the Intel-xe mailing list