From: Vincent ABRIOU <vincent.abriou@st.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>
Cc: "intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
Benjamin Gaignard <benjamin.gaignard@linaro.org>
Subject: Re: [PATCH 08/12] drm/sti: Rename async to nonblock.
Date: Wed, 27 Apr 2016 09:17:39 +0200 [thread overview]
Message-ID: <57206793.6010603@st.com> (raw)
In-Reply-To: <1461679905-30177-9-git-send-email-maarten.lankhorst@linux.intel.com>
Hi Maarten,
Thanks for the patch.
Acked-by: Vincent Abriou <vincent.abriou@st.com>
On 04/26/2016 04:11 PM, Maarten Lankhorst wrote:
> The async name is deprecated and should be changed to nonblocking.
>
> Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
> Cc: Vincent Abriou <vincent.abriou@st.com>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> ---
> drivers/gpu/drm/sti/sti_drv.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c
> index 6bd6abaa5a70..872495e72294 100644
> --- a/drivers/gpu/drm/sti/sti_drv.c
> +++ b/drivers/gpu/drm/sti/sti_drv.c
> @@ -202,7 +202,7 @@ static void sti_atomic_work(struct work_struct *work)
> }
>
> static int sti_atomic_commit(struct drm_device *drm,
> - struct drm_atomic_state *state, bool async)
> + struct drm_atomic_state *state, bool nonblock)
> {
> struct sti_private *private = drm->dev_private;
> int err;
> @@ -211,7 +211,7 @@ static int sti_atomic_commit(struct drm_device *drm,
> if (err)
> return err;
>
> - /* serialize outstanding asynchronous commits */
> + /* serialize outstanding nonblocking commits */
> mutex_lock(&private->commit.lock);
> flush_work(&private->commit.work);
>
> @@ -223,7 +223,7 @@ static int sti_atomic_commit(struct drm_device *drm,
>
> drm_atomic_helper_swap_state(drm, state);
>
> - if (async)
> + if (nonblock)
> sti_atomic_schedule(private, state);
> else
> sti_atomic_complete(private, state);
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2016-04-27 7:17 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 14:11 [PATCH 00/12] drm/atomic: Rename async to nonblocking Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 01/12] drm/atomic: Rename async parameter " Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 02/12] drm/atomic: Rename drm_atomic_async_commit " Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 03/12] drm/arm/hdlcd: Rename async to nonblock Maarten Lankhorst
2016-04-26 15:03 ` Liviu Dudau
2016-04-26 14:11 ` [PATCH 04/12] drm/exynos: " Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 05/12] drm/msm: " Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 06/12] drm/omapdrm: " Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 07/12] drm/rcar-du: " Maarten Lankhorst
2016-04-27 15:31 ` Laurent Pinchart
2016-04-26 14:11 ` [PATCH 08/12] drm/sti: " Maarten Lankhorst
2016-04-27 7:17 ` Vincent ABRIOU [this message]
2016-04-26 14:11 ` [PATCH 09/12] drm/tegra: " Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 10/12] drm/rockchip: " Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 11/12] drm/vc4: " Maarten Lankhorst
2016-04-26 14:11 ` [PATCH 12/12] drm/i915: " Maarten Lankhorst
2016-04-26 14:34 ` [PATCH 00/12] drm/atomic: Rename async to nonblocking Daniel Vetter
2016-05-02 14:39 ` Daniel Vetter
2016-04-26 17:04 ` ✗ Fi.CI.BAT: failure for " Patchwork
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=57206793.6010603@st.com \
--to=vincent.abriou@st.com \
--cc=benjamin.gaignard@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=maarten.lankhorst@linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox