]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hibmc: Implement struct drm_mode_config_funcs.mode_valid
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 3 Feb 2020 15:52:57 +0000 (16:52 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 6 Feb 2020 09:34:06 +0000 (10:34 +0100)
commit0facb9d0bd0c905acae15fb9f7bf94a410e41dfe
tree5fb073300bbbb99447d254e147736f28f6d1665b
parenta5c4ed770b9e7e73287b9e7ec99e73358520a688
drm/hibmc: 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-4-tzimmermann@suse.de
drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c