From: Paul Cercueil Date: Tue, 10 Dec 2019 14:41:40 +0000 (+0100) Subject: gpu/drm: ingenic: Set max FB height to 4095 X-Git-Tag: v5.15~303^2~28^2~3853 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96ea0ae692fe382dc7a5d66289d8fbd4a369614d;p=platform%2Fkernel%2Flinux-starfive.git gpu/drm: ingenic: Set max FB height to 4095 While the LCD controller can effectively only support a maximum resolution of 800x600, the framebuffer's height can be much higher, since we can change the Y start offset. v2: No change Signed-off-by: Paul Cercueil Link: https://patchwork.freedesktop.org/patch/msgid/20191210144142.33143-4-paul@crapouillou.net # *** extracted tags *** Acked-by: Sam Ravnborg --- diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c index 0f48050..f80a4b9 100644 --- a/drivers/gpu/drm/ingenic/ingenic-drm.c +++ b/drivers/gpu/drm/ingenic/ingenic-drm.c @@ -637,7 +637,7 @@ static int ingenic_drm_probe(struct platform_device *pdev) drm->mode_config.min_width = 0; drm->mode_config.min_height = 0; drm->mode_config.max_width = 800; - drm->mode_config.max_height = 600; + drm->mode_config.max_height = 4095; drm->mode_config.funcs = &ingenic_drm_mode_config_funcs; base = devm_platform_ioremap_resource(pdev, 0);