* [GIT PULL] imx-drm page flip fix for v4.15-rc
@ 2017-11-30 17:07 Philipp Zabel
0 siblings, 0 replies; only message in thread
From: Philipp Zabel @ 2017-11-30 17:07 UTC (permalink / raw)
To: Dave Airlie; +Cc: kernel, dri-devel
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
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-30 17:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30 17:07 [GIT PULL] imx-drm page flip fix for v4.15-rc Philipp Zabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox