MLK-18605-14 drm/imx: lcdif: adjust 'max_height' for '1080x1920' mode
authorFancy Fang <chen.fang@nxp.com>
Tue, 17 Jul 2018 00:26:53 +0000 (08:26 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
Change the maximum height limitation to 1920 to support
'1080x1920' resolution mode. It is a temporary work
around and will be improved later.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 44d0209e97e0c574af30dd7a7d7e059d4ddf996d)
(cherry picked from commit 884680d1decf63f5a9cb3ed4ef1b6452ad6d088a)

drivers/gpu/drm/imx/lcdif/lcdif-crtc.c

index 9895544..91f09c7 100644 (file)
@@ -297,7 +297,7 @@ static int lcdif_crtc_bind(struct device *dev, struct device *master,
 
        /* limit the max width and height */
        drm->mode_config.max_width  = 1920;
-       drm->mode_config.max_height = 1080;
+       drm->mode_config.max_height = 1920;
 
        dev_set_drvdata(dev, lcdif_crtc);