summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDouglas Anderson2019-06-15 00:47:30 +0200
committerHeiko Stuebner2019-06-16 15:36:43 +0200
commit527e4ca3b6d13c62340d7a8e2ac3d24800f72f4b (patch)
tree05a073023753657ad90de3798adf8e84d2c8c65b /include/drm
parentdrm/rockchip: Properly adjust to a true clock in adjusted_mode (diff)
downloadkernel-qcow2-linux-527e4ca3b6d13c62340d7a8e2ac3d24800f72f4b.tar.gz
kernel-qcow2-linux-527e4ca3b6d13c62340d7a8e2ac3d24800f72f4b.tar.xz
kernel-qcow2-linux-527e4ca3b6d13c62340d7a8e2ac3d24800f72f4b.zip
drm/rockchip: Base adjustments of the mode based on prev adjustments
In vop_crtc_mode_fixup() we fixup the mode to show what we actually will be able to achieve. However we should base our adjustments on any previous adjustments that were made. As an example, the dw_hdmi driver may wish to make some small adjustments to clock rates in its atomic_check() function. If it does, it will update the adjusted_mode. We shouldn't throw away those adjustments. NOTE: the version of the dw_hdmi driver upstream doesn't _actually_ make such adjustments, but downstream in Chrome OS it does. It is plausible that one day we'll figure out how to cleanly make that happen in an upstream-friendly way, so we should prepare by using the right mode. Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20190614224730.98622-2-dianders@chromium.org
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions