]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit954e56c59251a2fdb4f51b6dd4da006c69bfa1cb
tree1cab9df1c663d826fcd97071b4d19c02561ae5d1
parent85e2689582ce482da564aba1cb6513812ce4ba5d
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