diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2023-04-04 22:40:36 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2023-04-05 23:42:10 +0300 |
commit | 1935f0deb6116dd785ea64d8035eab0ff441255b (patch) | |
tree | 1a616fcfb84215ed9960bb7d9b763c278acf81a9 /drivers/gpu/drm/drm_encoder.c | |
parent | 77d08a2de6a43521f5a02848f11185b6f46af21c (diff) | |
download | linux-1935f0deb6116dd785ea64d8035eab0ff441255b.tar.xz |
drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
Drivers are supposed to fix this up if needed if they don't outright
reject it. Uncovered by 6c11df58fd1a ("fbmem: Check virtual screen
sizes in fb_set_var()").
Reported-by: syzbot+20dcf81733d43ddff661@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?id=c5faf983bfa4a607de530cd3bb008888bf06cefc
Cc: stable@vger.kernel.org # v5.4+
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230404194038.472803-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_encoder.c')
0 files changed, 0 insertions, 0 deletions