]> git.karo-electronics.de Git - linux-beck.git/commit
drm/imx: use drm_atomic_set_fence_for_plane() to set the fence
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 7 Nov 2016 10:03:31 +0000 (19:03 +0900)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Nov 2016 10:27:14 +0000 (11:27 +0100)
commitaee2586490e9c1ff73bdc4fbf705469a6fa4e074
treea6507b882b0682c52b46856bd5ec48272f4148ed
parent13b55664eec7b85607c4ab9d26a62b4af413a771
drm/imx: use drm_atomic_set_fence_for_plane() to set the fence

drm_atomic_set_fence_for_plane() is smart and won't overwrite
plane_state->fence if the user already set an explicit fence there.

Cc: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1478513013-3221-2-git-send-email-gustavo@padovan.org
drivers/gpu/drm/imx/imx-drm-core.c