diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2019-12-10 12:15:44 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-12-10 21:34:52 +1000 |
commit | 3d1890ef8023e61934e070021b06cc9f417260c0 (patch) | |
tree | ee37baca65101077919e4afe54497304362de0ac /scripts | |
parent | ae5769d4670982bc483885b120b557a9ffd57527 (diff) |
drm/nouveau/kms/nv50-: fix panel scaling
Under certain circumstances, encoder atomic_check() can be entered
without adjusted_mode having been reset to the same as mode, which
confuses the scaling logic and can lead to a misprogrammed display.
Fix this by checking against the user-provided mode directly.
Link: https://bugs.freedesktop.org/show_bug.cgi?id=108615
Link: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/464
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions