Re: [PATCH] drm/mediatek: Use spin_lock_irqsave() for CRTC event lock

2024-08-29 Thread Chun-Kuang Hu
Hi, Fei: Fei Shao 於 2024年8月28日 週三 下午6:16寫道: > > Use the state-aware spin_lock_irqsave() and spin_unlock_irqrestore() > to avoid unconditionally re-enabling the local interrupts. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git

[PATCH] drm/mediatek: Use spin_lock_irqsave() for CRTC event lock

2024-08-28 Thread Fei Shao
Use the state-aware spin_lock_irqsave() and spin_unlock_irqrestore() to avoid unconditionally re-enabling the local interrupts. Fixes: 411f5c1eacfe ("drm/mediatek: handle events when enabling/disabling crtc") Signed-off-by: Fei Shao --- drivers/gpu/drm/mediatek/mtk_crtc.c | 5 +++-- 1 file chan