From: Boris Brezillon <boris.brezillon@collabora.com>
To: Helen Koike <helen.koike@collabora.com>
Cc: dri-devel@lists.freedesktop.org,
"David Airlie" <airlied@linux.ie>,
dnicoara@chromium.org, daniels@collabora.com,
alexandros.frantzis@collabora.com, daniel.vetter@ffwll.ch,
linux-kernel@vger.kernel.org, "tomasz Figa" <tfiga@chromium.org>,
tina.zhang@intel.com, "Sean Paul" <seanpaul@google.com>,
kernel@collabora.com, nicholas.kazlauskas@amd.com,
"Stéphane Marchesin" <marcheu@google.com>,
"Gustavo Padovan" <gustavo.padovan@collabora.com>,
"Sean Paul" <sean@poorly.run>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <maxime.ripard@bootlin.com>,
"Daniel Vetter" <daniel@ffwll.ch>
Subject: Re: [PATCH v3 1/4] drm/uapi: add documentation for atomic flags
Date: Fri, 12 Apr 2019 15:31:17 +0200 [thread overview]
Message-ID: <20190412153117.1333f3d1@collabora.com> (raw)
In-Reply-To: <20190412125827.5877-2-helen.koike@collabora.com>
Hello Helen,
On Fri, 12 Apr 2019 09:58:24 -0300
Helen Koike <helen.koike@collabora.com> wrote:
> add a brief description of the flags used in an atomic commit
>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> ---
>
> Changes in v3: None
> Changes in v2: None
> Changes in v1: None
>
> include/uapi/drm/drm_mode.h | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
> index 83cd1636b9be..88ef2cf04d13 100644
> --- a/include/uapi/drm/drm_mode.h
> +++ b/include/uapi/drm/drm_mode.h
> @@ -729,7 +729,23 @@ struct drm_mode_destroy_dumb {
> __u32 handle;
> };
>
> -/* page-flip flags are valid, plus: */
> +/*
You might want to use a standard kernel/sphynx doc header so that it
can be parsed by sphynx and included in the DRM doc.
> + * drm atomic flags
> + *
> + * page-flip flags are valid, plus:
> + *
> + * DRM_MODE_ATOMIC_TEST_ONLY
> + * Used with fences to check if the Sync File is a valid one.
I think it can be used for any kind of tests, like when you want to
know if a combination of property updates is supported. It's fine
having the fence example, but I think you should be clear that it's
just one use case.
> + *
> + * DRM_MODE_ATOMIC_NONBLOCK
> + * Perform a normal atomic update but do not block the ioctl until the request
> + * is finished, return the ioctl call immediately.
> + *
> + * DRM_MODE_ATOMIC_ALLOW_MODESET
> + * Indicates whether a full modeset is acceptable or not.
> + */
> +
> +/* */
> #define DRM_MODE_ATOMIC_TEST_ONLY 0x0100
> #define DRM_MODE_ATOMIC_NONBLOCK 0x0200
> #define DRM_MODE_ATOMIC_ALLOW_MODESET 0x0400
Regards,
Boris
next prev parent reply other threads:[~2019-04-12 13:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-12 12:58 [PATCH v3 0/4] async vs amend - UAPI Helen Koike
2019-04-12 12:58 ` Helen Koike
2019-04-12 12:58 ` Helen Koike
2019-04-12 12:58 ` [PATCH v3 1/4] drm/uapi: add documentation for atomic flags Helen Koike
2019-04-12 13:31 ` Boris Brezillon [this message]
[not found] ` <20190412125827.5877-1-helen.koike-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2019-04-12 12:58 ` [PATCH v3 2/4] drm/atomic: rename async_{update, check} to amend_{update, check} Helen Koike
2019-04-12 12:58 ` Helen Koike
2019-04-12 12:58 ` [PATCH v3 2/4] drm/atomic: rename async_{update,check} to amend_{update,check} Helen Koike
2019-04-12 13:49 ` Boris Brezillon
2019-04-12 13:49 ` Boris Brezillon
2019-04-12 13:49 ` Boris Brezillon
2019-04-12 14:06 ` Helen Koike
2019-04-12 14:06 ` Helen Koike
2019-04-12 14:06 ` Helen Koike
[not found] ` <bda69249-f193-9dbc-5186-7139fb2c365a-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2019-04-12 14:38 ` [PATCH v3 2/4] drm/atomic: rename async_{update, check} to amend_{update, check} Boris Brezillon
2019-04-12 14:38 ` [PATCH v3 2/4] drm/atomic: rename async_{update,check} to amend_{update,check} Boris Brezillon
2019-04-12 14:38 ` Boris Brezillon
2019-04-12 12:58 ` [PATCH RFC v3 3/4] drm/atomic: add ATOMIC_AMEND flag to the Atomic IOCTL Helen Koike
2019-04-12 12:58 ` [PATCH RFC v3 4/4] drm/atomic: hook atomic_async_{check,update} with PAGE_FLIP_ASYNC flag Helen Koike
2019-04-12 12:58 ` [PATCH RFC v3 4/4] drm/atomic: hook atomic_async_{check, update} " Helen Koike
2019-04-12 12:58 ` [PATCH RFC v3 4/4] drm/atomic: hook atomic_async_{check,update} " Helen Koike
2019-04-12 13:39 ` Helen Koike
2019-04-12 13:39 ` Helen Koike
2019-04-12 13:39 ` Helen Koike
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=20190412153117.1333f3d1@collabora.com \
--to=boris.brezillon@collabora.com \
--cc=airlied@linux.ie \
--cc=alexandros.frantzis@collabora.com \
--cc=daniel.vetter@ffwll.ch \
--cc=daniel@ffwll.ch \
--cc=daniels@collabora.com \
--cc=dnicoara@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gustavo.padovan@collabora.com \
--cc=helen.koike@collabora.com \
--cc=kernel@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marcheu@google.com \
--cc=maxime.ripard@bootlin.com \
--cc=nicholas.kazlauskas@amd.com \
--cc=sean@poorly.run \
--cc=seanpaul@google.com \
--cc=tfiga@chromium.org \
--cc=tina.zhang@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.