[PATCH v2] drm/mediatek: Add spinlock for setting vblank event in atomic_begin
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Wed Sep 20 02:15:10 PDT 2023
Il 20/09/23 11:06, Jason-JH.Lin ha scritto:
> 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>
> Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>
> Reviewed-by: Fei Shao <fshao at chromium.org>
> Tested-by: Fei Shao <fshao at chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
Cheers!
More information about the Linux-mediatek
mailing list