aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDouglas Anderson <[email protected]>2019-12-18 14:35:27 -0800
committerNeil Armstrong <[email protected]>2020-02-13 10:21:45 +0100
commit37c1d89820e77dae525d33e8f20cf85442c2b55a (patch)
tree06bd109320d55735e8a7b45934146384d778f43b /tools/perf/scripts/python/bin
parent457622d9f99b9b2b44375d7e5e95cde5f66910f9 (diff)
drm/bridge: ti-sn65dsi86: Use 18-bit DP if we can
The current bridge driver always forced us to use 24 bits per pixel over the DP link. This is a waste if you are hooked up to a panel that only supports 6 bits per color or fewer, since in that case you can run at 18 bits per pixel and thus end up at a lower DP clock rate. Let's support this. While at it, let's clean up the math in the function to avoid rounding errors (and round in the correct direction when we have to round). Numbers are sufficiently small (because mode->clock is in kHz) that we don't need to worry about integer overflow. Signed-off-by: Douglas Anderson <[email protected]> Tested-by: Rob Clark <[email protected]> Reviewed-by: Rob Clark <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> [narmstrong: s/ran/can/] Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20191218143416.v3.6.Iaf8d698f4e5253d658ae283d2fd07268076a7c27@changeid
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions