Skip to content

Commit de3c3ed

Browse files
Tian Taoxin3liang
authored andcommitted
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 <[email protected]> Signed-off-by: Gong junjie <[email protected]> Signed-off-by: Xinliang Liu <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 31d6fee commit de3c3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static int hibmc_kms_init(struct hibmc_drm_private *priv)
9191
priv->dev->mode_config.min_width = 0;
9292
priv->dev->mode_config.min_height = 0;
9393
priv->dev->mode_config.max_width = 1920;
94-
priv->dev->mode_config.max_height = 1440;
94+
priv->dev->mode_config.max_height = 1200;
9595

9696
priv->dev->mode_config.fb_base = priv->fb_base;
9797
priv->dev->mode_config.preferred_depth = 24;

0 commit comments

Comments
 (0)