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)
commita7a0e8f69a8283ccf8d159ef77d2b97a080d0cbf
treeb5bc8f337b62e1f030ccbaa5e625053428c90148
parentac63316badae19e773ab2d462bfa5ca9c4e0e20e
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