]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: ltdc: check number of endpoints
authorYannick Fertre <yannick.fertre@st.com>
Fri, 28 Feb 2020 08:07:38 +0000 (09:07 +0100)
committerBenjamin Gaignard <benjamin.gaignard@st.com>
Mon, 27 Apr 2020 13:42:12 +0000 (15:42 +0200)
commitd0261fd2089a61110dcc8aead1445592f03fafd9
tree257ffb4089e4d531d26931368ad65e0f1df79c2f
parentfb92d42e54e5761659778ae2232e2afba8b0f939
drm/stm: ltdc: check number of endpoints

Number of endpoints could exceed the fix value MAX_ENDPOINTS(2).
Instead of increase simply this value, the number of endpoint
could be read from device tree. Load sequence has been a little
rework to take care of several panel or bridge which can be
connected/disconnected or enable/disable.

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