diff options
author | emersion <contact@emersion.fr> | 2018-12-16 18:49:08 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-12-17 10:51:20 +0100 |
commit | 329e95a7871d8bd52d2f7aabca7daf147a26fdb1 (patch) | |
tree | 9342ad69146529dc2d8bb2ea0b742bb78681458d /drivers/gpu/drm | |
parent | c27889ca3bb8bdc936bd0477125f0f6ff4c42df3 (diff) | |
download | linux-stable-329e95a7871d8bd52d2f7aabca7daf147a26fdb1.tar.gz linux-stable-329e95a7871d8bd52d2f7aabca7daf147a26fdb1.tar.bz2 linux-stable-329e95a7871d8bd52d2f7aabca7daf147a26fdb1.zip |
drm/vkms: set preferred depth to 24
Otherwise DRM_CAP_DUMB_PREFERRED_DEPTH is zero.
Signed-off-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/o2SmEP0M6h287Fs5OeL3HtQzTr8uV0PyOhFict_qdxeS7vFvV1Zr8qzRUJh-YnCoJHo13nJgAqqQByzEzTZTqk9R2ExsOszYLj68hQLqBIc=@emersion.fr
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/vkms/vkms_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c index 83087877565c..2a16b86196dc 100644 --- a/drivers/gpu/drm/vkms/vkms_drv.c +++ b/drivers/gpu/drm/vkms/vkms_drv.c @@ -95,6 +95,7 @@ static int vkms_modeset_init(struct vkms_device *vkmsdev) dev->mode_config.min_height = YRES_MIN; dev->mode_config.max_width = XRES_MAX; dev->mode_config.max_height = YRES_MAX; + dev->mode_config.preferred_depth = 24; return vkms_output_init(vkmsdev); } |