]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8abdf6b78d8a156c93570b392f0845903b343c15
treef98f0284b40d4b7c21ebd261c765f67664934ab4
parent31e69bca222eef0a4edb0a4463d55dec7dcf1904
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