[PATCH 0/3] drm/fb-helper: Restore damage worker

Daniel Vetter daniel at ffwll.ch
Sat Nov 19 11:15:36 UTC 2022


On Fri, Nov 18, 2022 at 02:35:32PM +0100, Thomas Zimmermann wrote:
> It turns out that the removal of the damage worker can lead to
> locking cycles. The display update now runs while holding the
> fbdefio lock, which conflicts with locks in the modesetting code
> that updates the display. There's no easy fix for this, so let's
> restore the damage worker. The display update will then again run
> outside of the fbdefio lock.
> 
> See [1] for bug reports.
> 
> [1] https://intel-gfx-ci.01.org/tree/drm-tip/fi-kbl-8809g.html

:-(
 
> Thomas Zimmermann (3):
>   Revert "drm/fb-helper: Remove damage worker"
>   Revert "drm/fb-helper: Schedule deferred-I/O worker after writing to
>     framebuffer"
>   Revert "drm/fb-helper: Perform damage handling in deferred-I/O helper"

On the series: Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Apologies for the late ack, I wasn't around yesterday afternoon.
-Daniel

> 
>  drivers/gpu/drm/drm_fb_helper.c     | 30 +++++++++++++----------------
>  drivers/video/fbdev/core/fb_defio.c | 16 ---------------
>  include/drm/drm_fb_helper.h         |  2 ++
>  include/linux/fb.h                  |  1 -
>  4 files changed, 15 insertions(+), 34 deletions(-)
> 
> -- 
> 2.38.1
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list