diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-01-27 05:57:19 -0500 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-02-17 02:04:26 -0500 |
commit | f57c511a9d1e8625879abd032e3cbf4bd25bbafa (patch) | |
tree | 008308c9dfd7a48ffbfb6647e70997360f1869d5 /drivers/gpu/drm/imx/imx-drm-core.c | |
parent | fc12bccda8b6f5c38139eceec9e369ed78091b2b (diff) |
drm/imx: lift 64x64 pixel minimum framebuffer size requirement
There is no reason to limit framebuffer size to 64x64 pixels at a
minimum on creation. The actual scanout limitations (width >= 13 for the
base plane and height >= 2) are checked in atomic_check.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r-- | drivers/gpu/drm/imx/imx-drm-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 33404295b447..bef76cb0d05d 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c | |||
@@ -357,8 +357,8 @@ static int imx_drm_bind(struct device *dev) | |||
357 | * this value would be used to check framebuffer size limitation | 357 | * this value would be used to check framebuffer size limitation |
358 | * at drm_mode_addfb(). | 358 | * at drm_mode_addfb(). |
359 | */ | 359 | */ |
360 | drm->mode_config.min_width = 64; | 360 | drm->mode_config.min_width = 1; |
361 | drm->mode_config.min_height = 64; | 361 | drm->mode_config.min_height = 1; |
362 | drm->mode_config.max_width = 4096; | 362 | drm->mode_config.max_width = 4096; |
363 | drm->mode_config.max_height = 4096; | 363 | drm->mode_config.max_height = 4096; |
364 | drm->mode_config.funcs = &imx_drm_mode_config_funcs; | 364 | drm->mode_config.funcs = &imx_drm_mode_config_funcs; |