diff options
author | 2020-10-10 01:21:54 +0200 | |
---|---|---|
committer | 2020-10-15 23:37:05 +0200 | |
commit | 063bc37d460990f8c9e6358bd6169809df09ccd3 (patch) | |
tree | 972870f847f6dac7d264ce5e8928c3d40cf2a538 /drivers/gpu/drm/vkms | |
parent | dma-buf: Clarify that dma-buf sg lists are page aligned (diff) | |
download | linux-063bc37d460990f8c9e6358bd6169809df09ccd3.tar.gz linux-063bc37d460990f8c9e6358bd6169809df09ccd3.tar.bz2 linux-063bc37d460990f8c9e6358bd6169809df09ccd3.zip |
drm/vkms: Set preferred depth correctly
The only thing we support is xrgb8888.
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Melissa Wen <melissa.srw@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Cc: Melissa Wen <melissa.srw@gmail.com>
Cc: Haneen Mohammed <hamohammed.sa@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201009232156.3916879-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/vkms')
-rw-r--r-- | drivers/gpu/drm/vkms/vkms_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c index 726801ab44d4..eb4007443706 100644 --- a/drivers/gpu/drm/vkms/vkms_drv.c +++ b/drivers/gpu/drm/vkms/vkms_drv.c @@ -124,7 +124,7 @@ static int vkms_modeset_init(struct vkms_device *vkmsdev) dev->mode_config.max_height = YRES_MAX; dev->mode_config.cursor_width = 512; dev->mode_config.cursor_height = 512; - dev->mode_config.preferred_depth = 24; + dev->mode_config.preferred_depth = 32; dev->mode_config.helper_private = &vkms_mode_config_helpers; return vkms_output_init(vkmsdev, 0); |