drm/hisilicon: Add the mode_valid function
authorTian Tao <tiantao6@hisilicon.com>
Wed, 8 Jan 2020 09:41:41 +0000 (17:41 +0800)
committerXinliang Liu <xinliang.liu@linaro.org>
Thu, 27 Feb 2020 04:34:32 +0000 (04:34 +0000)
commitbc17e557495429ac8f8c1e68a8f0e7adefdb793b
treef98f0284b40d4b7c21ebd261c765f67664934ab4
parentde3c3ed4c8ff2e8a5a5f9784f1d727e8dd8ed168
drm/hisilicon: Add the mode_valid function

add mode_valid function, we can make sure the resolution is valid.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Gong junjie <gongjunjie2@huawei.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1578476501-45807-1-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c