drm/stm: attach gem fence to atomic state
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Fri, 12 Jul 2019 08:42:28 +0000 (10:42 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 25 Jul 2019 10:00:09 +0000 (12:00 +0200)
commit8fabc9c3109a71b3577959a05408153ae69ccd8d
treed4a5c7dece5a075e4a0af41cdbb1d8299220e591
parentf27e43b46dae63a20ad01ba76f1ccb7cc46b28db
drm/stm: attach gem fence to atomic state

To properly synchronize with other devices the fence from the GEM
object backing the framebuffer needs to be attached to the atomic
state, so the commit work can wait on fence signaling.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712084228.8338-1-l.stach@pengutronix.de
drivers/gpu/drm/stm/ltdc.c