On Sun, Dec 16, 2018 at 06:49:08PM +0000, emersion wrote: > Otherwise DRM_CAP_DUMB_PREFERRED_DEPTH is zero. > > Signed-off-by: Simon Ser <contact@xxxxxxxxxxx> Thanks for your patch, applied. -Daniel > --- > drivers/gpu/drm/vkms/vkms_drv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c > index 07cfde1b413..88571ab0674 100644 > --- a/drivers/gpu/drm/vkms/vkms_drv.c > +++ b/drivers/gpu/drm/vkms/vkms_drv.c > @@ -96,6 +96,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); > } > -- > 2.20.0 > > > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel