All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/meson: fix max mode_config height/width
@ 2018-10-04  8:42 ` Neil Armstrong
  0 siblings, 0 replies; 33+ messages in thread
From: Neil Armstrong @ 2018-10-04  8:42 UTC (permalink / raw)
  To: linus-amlogic

The mode_config max_width/max_height determines the maximum framebuffer
size the pixel reader can handle. But the values were set thinking they
were determining the maximum screen dimensions.

This patch changes the values to the maximum height/width the CANVAS block
can handle rounded to some coherent values.

Fixes: a41e82e6c457 ("drm/meson: Add support for components")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/gpu/drm/meson/meson_drv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c
index d344312..2e29968 100644
--- a/drivers/gpu/drm/meson/meson_drv.c
+++ b/drivers/gpu/drm/meson/meson_drv.c
@@ -243,8 +243,8 @@ static int meson_drv_bind_master(struct device *dev, bool has_components)
 		goto free_drm;
 
 	drm_mode_config_init(drm);
-	drm->mode_config.max_width = 3840;
-	drm->mode_config.max_height = 2160;
+	drm->mode_config.max_width = 16384;
+	drm->mode_config.max_height = 8192;
 	drm->mode_config.funcs = &meson_mode_config_funcs;
 
 	/* Hardware Initialization */
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2019-10-11 17:59 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-04  8:42 [PATCH] drm/meson: fix max mode_config height/width Neil Armstrong
2018-10-04  8:42 ` Neil Armstrong
2018-10-04  8:42 ` Neil Armstrong
2018-10-04  8:42 ` Neil Armstrong
2018-10-04 10:09 ` Daniel Vetter
2018-10-04 10:09   ` Daniel Vetter
2018-10-04 10:09   ` Daniel Vetter
2018-10-04 15:04   ` Neil Armstrong
2018-10-04 15:04     ` Neil Armstrong
2018-10-04 15:04     ` Neil Armstrong
2018-10-04 15:04     ` Neil Armstrong
2018-10-04 18:10     ` Daniel Vetter
2018-10-04 18:10       ` Daniel Vetter
2018-10-04 18:10       ` Daniel Vetter
2018-10-05  7:39       ` Neil Armstrong
2018-10-05  7:39         ` Neil Armstrong
2018-10-05  7:39         ` Neil Armstrong
2018-10-05  7:58         ` Daniel Vetter
2018-10-05  7:58           ` Daniel Vetter
2018-10-05  7:58           ` Daniel Vetter
2018-10-05  8:19           ` Neil Armstrong
2018-10-05  8:19             ` Neil Armstrong
2018-10-05  8:19             ` Neil Armstrong
2018-10-05  8:19             ` Neil Armstrong
2019-09-24 17:28             ` Jeykumar Sankaran
2019-09-24 17:28               ` Jeykumar Sankaran
2019-09-24 17:28               ` Jeykumar Sankaran
2019-10-09 10:47               ` Daniel Vetter
2019-10-09 10:47                 ` Daniel Vetter
2019-10-09 10:47                 ` Daniel Vetter
2019-10-11 17:59                 ` Jeykumar Sankaran
2019-10-11 17:59                   ` Jeykumar Sankaran
2019-10-11 17:59                   ` Jeykumar Sankaran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.