[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAC=S1nhhAevMct0SoipCRpVmHmMGEuvu2yKmkjuVVUpeZxZ5ug@mail.gmail.com>
Date: Wed, 13 Sep 2023 15:54:18 +0800
From: Fei Shao <fshao@...omium.org>
To: "Jason-JH.Lin" <jason-jh.lin@...iatek.com>
Cc: Chun-Kuang Hu <chunkuang.hu@...nel.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Alexandre Mergnat <amergnat@...libre.com>,
Eugen Hristev <eugen.hristev@...labora.com>,
Jason-ch Chen <jason-ch.chen@...iatek.com>,
Johnson Wang <johnson.wang@...iatek.com>,
Singo Chang <singo.chang@...iatek.com>,
Nancy Lin <nancy.lin@...iatek.com>,
Shawn Sung <shawn.sung@...iatek.com>,
dri-devel@...ts.freedesktop.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH] drm/mediatek: Add spinlock for setting vblank event in atomic_begin
On Thu, Aug 31, 2023 at 3:12 PM Fei Shao <fshao@...omium.org> wrote:
>
> On Tue, Aug 22, 2023 at 10:27 PM Jason-JH.Lin <jason-jh.lin@...iatek.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@...iatek.com>
>
> Reviewed-by: Fei Shao <fshao@...omium.org>
Also, I verified that this fixes a real world system hang issue on the
MT8195 Chromebook.
Tested-by: Fei Shao <fshao@...omium.org>
Powered by blists - more mailing lists