From: Daniel Vetter <daniel@ffwll.ch>
To: emersion <contact@emersion.fr>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/vkms: set preferred depth to 24
Date: Mon, 17 Dec 2018 10:51:33 +0100 [thread overview]
Message-ID: <20181217095133.GD21184@phenom.ffwll.local> (raw)
In-Reply-To: <o2SmEP0M6h287Fs5OeL3HtQzTr8uV0PyOhFict_qdxeS7vFvV1Zr8qzRUJh-YnCoJHo13nJgAqqQByzEzTZTqk9R2ExsOszYLj68hQLqBIc=@emersion.fr>
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@emersion.fr>
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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2018-12-17 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-16 18:49 [PATCH] drm/vkms: set preferred depth to 24 emersion
2018-12-17 9:51 ` Daniel Vetter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181217095133.GD21184@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=contact@emersion.fr \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox