]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vboxvideo: Implement struct drm_mode_config_funcs.mode_valid
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 3 Feb 2020 15:52:58 +0000 (16:52 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 6 Feb 2020 09:34:06 +0000 (10:34 +0100)
commit2ce34a02010365dd94261c73a2c887711d478cac
treeb5bc8f337b62e1f030ccbaa5e625053428c90148
parent0facb9d0bd0c905acae15fb9f7bf94a410e41dfe
drm/vboxvideo: Implement struct drm_mode_config_funcs.mode_valid

The implementation of struct drm_mode_config_funcs.mode_valid verifies
that enough video memory is available for a given display mode.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200203155258.9346-5-tzimmermann@suse.de
drivers/gpu/drm/vboxvideo/vbox_mode.c