[PATCH v3 1/5] drm/udl: Set default color depth to 32 bpp
Thomas Zimmermann
tzimmermann at suse.de
Tue Nov 12 14:04:27 UTC 2019
The udl driver only supports color depths that are powers of two.
Change prefered default to 32 bpp.
Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
---
drivers/gpu/drm/udl/udl_modeset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
index bc1ab6060dc6..1f8ebcc595de 100644
--- a/drivers/gpu/drm/udl/udl_modeset.c
+++ b/drivers/gpu/drm/udl/udl_modeset.c
@@ -437,7 +437,7 @@ int udl_modeset_init(struct drm_device *dev)
dev->mode_config.max_height = 2048;
dev->mode_config.prefer_shadow = 0;
- dev->mode_config.preferred_depth = 24;
+ dev->mode_config.preferred_depth = 32;
dev->mode_config.funcs = &udl_mode_funcs;
--
2.23.0
More information about the dri-devel
mailing list