Re: [PATCH v2 2/2] drm/mediatek: Fix iommu fault during crtc enabling

2023-07-10 Thread 林睿祥

Re: [PATCH v2 2/2] drm/mediatek: Fix iommu fault during crtc enabling

2023-07-10 Thread AngeloGioacchino Del Regno
Il 09/07/23 18:26, Jason-JH.Lin ha scritto: OVL layer should not be enabled before crtc is enabled. The plane_state of drm_atomic_state is not sync to the plane_state stored in mtk_crtc during crtc enabling, so just set all planes to disabled. Please add the relevant Fixes tag and resend. Tha

Re: [PATCH v2 2/2] drm/mediatek: Fix iommu fault during crtc enabling

2023-07-09 Thread Fei Shao
Hi Jason, On Mon, Jul 10, 2023 at 12:27 AM Jason-JH.Lin wrote: > > OVL layer should not be enabled before crtc is enabled. > The plane_state of drm_atomic_state is not sync to > the plane_state stored in mtk_crtc during crtc enabling, > so just set all planes to disabled. > Please add the "Fixes"

[PATCH v2 2/2] drm/mediatek: Fix iommu fault during crtc enabling

2023-07-09 Thread Jason-JH . Lin
OVL layer should not be enabled before crtc is enabled. The plane_state of drm_atomic_state is not sync to the plane_state stored in mtk_crtc during crtc enabling, so just set all planes to disabled. Signed-off-by: Jason-JH.Lin --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 3 +++ 1 file changed,