[PATCH] drm/atomic: clear out fence when duplicating state

Fabio Estevam festevam at gmail.com
Fri Jan 27 11:43:11 UTC 2017


Hi Lucas,

On Fri, Jan 27, 2017 at 8:33 AM, Lucas Stach <l.stach at pengutronix.de> wrote:
> The fence needs to be cleared out, otherwise the following commit
> might wait on a stale fence from the previous commit. This was fixed
> as a side effect of 9626014258a5 (drm/fence: add in-fences support)
> in kernel 4.10.
>
> As this commit introduces new functionality and as such can not be
> applied to stable, this patch is the minimal fix for the kernel 4.9
> stable series.
>
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>

Excellent: this fixes the kernel warning on 4.9.x. I can now stop
kmscube several times without getting any kernel warning:

Tested-by: Fabio Estevam <fabio.estevam at nxp.com>


More information about the dri-devel mailing list