[GIT PULL] imx-drm page flip fix for v4.15-rc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux