diff options
author | Douglas Anderson <dianders@chromium.org> | 2019-12-18 14:35:25 -0800 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-02-13 10:21:09 +0100 |
commit | cf33de1799c65fd05fcf18b5983ac9b2640be1e8 (patch) | |
tree | 47142a48c1ae2a4429b7b4d89b8c4a0bdcc8e5c4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fa8a66c68755ce736053f993e74b2e39df58d2db (diff) |
drm/bridge: ti-sn65dsi86: Config number of DP lanes Mo' Betta
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions