Skip to contentSkip to conversation

imx-drm page flip fix for v4.15-rc

GIT PULL Philipp Zabel 1 participant 1 message Nov 30, 2017

lore
Share & tools
lore
#0 lore raw

Hi Dave,

this tag contains a fix for a regression introduced in v4.15-rc1 with commit 080de2e5be2d ("drm/atomic: Check for busy planes/connectors before setting the commit"), which exposes the fact that the custom imx-drm commit_tail never had to wait for flip_done to be signalled.

Without this fix, weston fails to page flip after the initial modeset, returning -EBUSY, because drm_atomic_helper_setup_commit now checks that previous commits have completed flip_done.

regards
Philipp

The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the git repository at:

git://git.pengutronix.de/git/pza/linux.git tags/imx-drm-fixes-2017-11-30

for you to fetch changes up to a152992062aa3803eeabfda84b5b844721ddf6ed:

drm/imx: always call wait_for_flip_done in commit_tail (2017-11-30 15:47:40 +0100)

----------------------------------------------------------------
drm/imx: fix commit_tail for new drm_atomic_helper_setup_commit

Since commit 080de2e5be2d ("drm/atomic: Check for busy planes/connectors before setting the commit"), drm_atomic_helper_setup_commit expects that blocking commits have completed flipping before the commit_tail returns. Add the missing wait_for_flip_done to commit_tail to ensure this.

----------------------------------------------------------------
Lucas Stach (1):
drm/imx: always call wait_for_flip_done in commit_tail

 drivers/gpu/drm/imx/imx-drm-core.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel