[PATCH 3/4] drm/udl: Allow smaller plane sizes to allow cursor plane
lukasz.spintzyk at synaptics.com
lukasz.spintzyk at synaptics.com
Mon Jun 24 07:10:40 UTC 2024
From: Łukasz Spintzyk <Lukasz.Spintzyk at synaptics.com>
Signed-off-by: Łukasz Spintzyk <Lukasz.Spintzyk at synaptics.com>
---
drivers/gpu/drm/udl/udl_modeset.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
index 0bd4e2f02dcf..28b7c269e913 100644
--- a/drivers/gpu/drm/udl/udl_modeset.c
+++ b/drivers/gpu/drm/udl/udl_modeset.c
@@ -659,8 +659,8 @@ int udl_modeset_init(struct drm_device *dev)
if (ret)
return ret;
- dev->mode_config.min_width = 640;
- dev->mode_config.min_height = 480;
+ dev->mode_config.min_width = UDL_CURSOR_W;
+ dev->mode_config.min_height = UDL_CURSOR_H;
dev->mode_config.max_width = 2048;
dev->mode_config.max_height = 2048;
dev->mode_config.preferred_depth = 16;
--
2.34.1
More information about the dri-devel
mailing list