drm: mxsfb: fix fence synchronization
authorLucas Stach <l.stach@pengutronix.de>
Fri, 20 Nov 2020 21:13:06 +0000 (22:13 +0100)
committerStefan Agner <stefan@agner.ch>
Thu, 26 Nov 2020 12:30:18 +0000 (13:30 +0100)
commit777ee15e88616c275ba59db88d3ece20eae0ca9a
tree9b253cac080ae7a42b464c309fbf6bd2d4a93926
parent2be65641642ef423f82162c3a5f28c754d1637d2
drm: mxsfb: fix fence synchronization

The conversion away from the simple display pipeline helper missed
to convert the prepare_fb plane callback, so no fences are attached to
the atomic state, breaking synchronization with other devices. Fix
this by plugging in the drm_gem_fb_prepare_fb helper function.

Fixes: ae1ed0093281 ("drm: mxsfb: Stop using DRM simple display pipeline helper")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201120211306.325841-1-l.stach@pengutronix.de
drivers/gpu/drm/mxsfb/mxsfb_kms.c