diff options
author | 2015-03-19 04:33:03 +0000 | |
---|---|---|
committer | 2015-03-23 16:22:30 +0100 | |
commit | 5a27528ade3f5714e565db3c0dd35b6b3f7c1f31 (patch) | |
tree | 9ad90bd7c5a494bfa05e6c71707383859381364b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm: mode: Allow NULL modes for equality check (diff) | |
download | wireguard-linux-5a27528ade3f5714e565db3c0dd35b6b3f7c1f31.tar.xz wireguard-linux-5a27528ade3f5714e565db3c0dd35b6b3f7c1f31.zip |
drm: crtc_helper: Update hwmode before mode_set call
Just as we provide crtc->mode pre-populated with the requested mode,
move adjusted_mode into hwmode before we call the crtc's mode_set,
making sure to restore it on failure.
Allows drivers which thoughtlessly discard adjusted_mode in their
mode_set hooks (e.g. Exynos) to use hwmode directly, and also provides
some neat symmetry with crtc->mode.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions