OSDN Git Service

drm/stm: ltdc: check crtc state before enabling LIE
authorYannick Fertre <yannick.fertre@st.com>
Tue, 21 Jan 2020 10:14:10 +0000 (11:14 +0100)
committerBenjamin Gaignard <benjamin.gaignard@st.com>
Tue, 4 Feb 2020 10:40:32 +0000 (11:40 +0100)
commita6bd58c51ac43083f3977057a7ad668def55812f
tree1cab9df1c663d826fcd97071b4d19c02561ae5d1
parent544aa6cefb24d75d7316ee3d9bb7865e69c375b6
drm/stm: ltdc: check crtc state before enabling LIE

Following investigations of a hardware bug, the LIE interrupt
can occur while the display controller is not activated.
LIE interrupt (vblank) don't have to be set if the CRTC is not
enabled.

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1579601650-7055-1-git-send-email-yannick.fertre@st.com
drivers/gpu/drm/stm/ltdc.c