]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge/synopsys: dsi: allow sending longer LP commands
authorAntonio Borneo <antonio.borneo@st.com>
Wed, 1 Jul 2020 14:31:31 +0000 (16:31 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 7 Sep 2020 08:04:02 +0000 (10:04 +0200)
commitf70865180af4871385646c0d8c25a3c5b4c5d184
treecd8fcf3c010b3d3041cde12290d0a534ec3f2c0b
parent7169200f8b58966d44b948bc8393c8853a443e0e
drm/bridge/synopsys: dsi: allow sending longer LP commands

Current code does not properly computes the max length of LP
commands that can be send during H or V sync, and rely on static
values.
Limiting the max LP length to 4 byte during the V-sync is overly
conservative.

Relax the limit and allows longer LP commands (16 bytes) to be
sent during V-sync.

Signed-off-by: Antonio Borneo <antonio.borneo@st.com>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200701143131.841-1-yannick.fertre@st.com
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c