[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2117852.HdQyuLfLX8@g550jk>
Date: Mon, 01 Feb 2021 00:06:01 +0100
From: Luca Weiss <luca@...tu.xyz>
To: Rob Clark <robdclark@...il.com>,
~postmarketos/upstreaming@...ts.sr.ht
Cc: ~postmarketos/upstreaming@...ts.sr.ht,
Iskren Chernev <iskren.chernev@...il.com>,
Sean Paul <sean@...rly.run>, David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Thomas Zimmermann <tzimmermann@...e.de>,
Maxime Ripard <maxime@...no.tech>,
Abhinav Kumar <abhinavk@...eaurora.org>,
Emil Velikov <emil.velikov@...labora.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Lee Jones <lee.jones@...aro.org>,
Brian Masney <masneyb@...tation.org>,
linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Iskren Chernev <iskren.chernev@...il.com>
Subject: Re: [PATCH] drm/msm/mdp5: Fix wait-for-commit for cmd panels
Hi Iskren,
On Mittwoch, 27. Jänner 2021 16:24:40 CET Iskren Chernev wrote:
> Before the offending commit in msm_atomic_commit_tail wait_flush was
> called once per frame, after the commit was submitted. After it
> wait_flush is also called at the beginning to ensure previous
> potentially async commits are done.
>
> For cmd panels the source of wait_flush is a ping-pong irq notifying
> a completion. The completion needs to be notified with complete_all so
> multiple waiting parties (new async committers) can proceed.
>
> Signed-off-by: Iskren Chernev <iskren.chernev@...il.com>
> Suggested-by: Rob Clark <robdclark@...il.com>
> Fixes: 2d99ced787e3d ("drm/msm: async commit support")
> ---
I've tested this now on fairphone-fp2 and lge-nexus5-hammerhead, works great!
Tested-by: Luca Weiss <luca@...tu.xyz>
Regards
Luca
Powered by blists - more mailing lists