[PATCH] drm/mediatek: Add spinlock for setting vblank event in atomic_begin

Fei Shao fshao at chromium.org
Thu Aug 31 00:12:55 PDT 2023


On Tue, Aug 22, 2023 at 10:27 PM Jason-JH.Lin <jason-jh.lin at mediatek.com> wrote:
>
> Add spinlock protection to avoid race condition on vblank event
> between mtk_drm_crtc_atomic_begin() and mtk_drm_finish_page_flip().
>
> Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")
> Signed-off-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>

Reviewed-by: Fei Shao <fshao at chromium.org>



More information about the Linux-mediatek mailing list