diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-01-03 04:55:56 +0100 |
---|---|---|
committer | Xinliang Liu <xinliang.liu@linaro.org> | 2020-02-27 05:34:31 +0100 |
commit | de3c3ed4c8ff2e8a5a5f9784f1d727e8dd8ed168 (patch) | |
tree | 9c8c7e0b1ce504c8daf31f770f061cf42a9fe93e | |
parent | drm/hisilicon: Enable the shadowfb for hibmc (diff) | |
download | linux-de3c3ed4c8ff2e8a5a5f9784f1d727e8dd8ed168.tar.xz linux-de3c3ed4c8ff2e8a5a5f9784f1d727e8dd8ed168.zip |
drm/hisilicon: fixed the wrong resolution configurations
The maximum resolution supported by hibmc is 1920 * 1200 instead of
1920 * 1440, this patch fixed this problem
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Gong junjie <gongjunjie2@huawei.com>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1578023756-46567-1-git-send-email-tiantao6@hisilicon.com
-rw-r--r-- | drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c index 5f612f6ac223..119135fc3e1a 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c @@ -91,7 +91,7 @@ static int hibmc_kms_init(struct hibmc_drm_private *priv) priv->dev->mode_config.min_width = 0; priv->dev->mode_config.min_height = 0; priv->dev->mode_config.max_width = 1920; - priv->dev->mode_config.max_height = 1440; + priv->dev->mode_config.max_height = 1200; priv->dev->mode_config.fb_base = priv->fb_base; priv->dev->mode_config.preferred_depth = 24; |