diff mbox series

[3/4] drm/udl: Allow smaller plane sizes to allow cursor plane

Message ID 20240624071041.5087-4-lukasz.spintzyk@synaptics.com (mailing list archive)
State New
Headers show
Series [1/4] drm/udl: Port CrOS cursor blending on primary plane in usb transfer | expand

Commit Message

Łukasz Spintzyk June 24, 2024, 7:10 a.m. UTC
From: Łukasz Spintzyk <Lukasz.Spintzyk@synaptics.com>

Signed-off-by: Łukasz Spintzyk <Lukasz.Spintzyk@synaptics.com>
---
 drivers/gpu/drm/udl/udl_modeset.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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;