cf33de1799
The driver used to say that the value to program into bridge register 0x93 was dp_lanes - 1. Looking at the datasheet for the bridge, this is wrong. The data sheet says: * 1 = 1 lane * 2 = 2 lanes * 3 = 4 lanes A more proper way to express this encoding is min(dp_lanes, 3). At the moment this change has zero effect because we've hardcoded the number of DP lanes to 4. ...and (4 - 1) == min(4, 3). How fortunate! ...but soon we'll stop hardcoding the number of lanes. Signed-off-by: Douglas Anderson <dianders@chromium.org> Tested-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191218143416.v3.4.If3e2d0493e7b6e8b510ea90d8724ff760379b3ba@changeid |
||
---|---|---|
.. | ||
adv7511 | ||
analogix | ||
synopsys | ||
cdns-dsi.c | ||
dumb-vga-dac.c | ||
Kconfig | ||
lvds-codec.c | ||
Makefile | ||
megachips-stdpxxxx-ge-b850v3-fw.c | ||
nxp-ptn3460.c | ||
panel.c | ||
parade-ps8622.c | ||
parade-ps8640.c | ||
sii902x.c | ||
sii9234.c | ||
sil-sii8620.c | ||
sil-sii8620.h | ||
tc358764.c | ||
tc358767.c | ||
tc358768.c | ||
thc63lvd1024.c | ||
ti-sn65dsi86.c | ||
ti-tfp410.c |