dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] drm/imx: fixes for early vblank event issue, array underflow error
@ 2018-03-22  9:20 Philipp Zabel
  0 siblings, 0 replies; only message in thread
From: Philipp Zabel @ 2018-03-22  9:20 UTC (permalink / raw)
  To: Dave Airlie; +Cc: kernel, dri-devel

Hi Dave,

please consider merging these fixes for an array underflow error in ipu-
prg and an issue where the vblank completion event would be signalled to
userspace too early due to a race condition.

regards
Philipp

The following changes since commit 0c8efd610b58cb23cefdfa12015799079aef94ae:

  Linux 4.16-rc5 (2018-03-11 17:25:09 -0700)

are available in the Git repository at:

  git://git.pengutronix.de/git/pza/linux.git tags/imx-drm-fixes-2018-03-22

for you to fetch changes up to 6a055b92de15af987b4027826d43aa103c65a3c4:

  drm/imx: move arming of the vblank event to atomic_flush (2018-03-15 17:52:41 +0100)

----------------------------------------------------------------
- fix an array underflow error by reordering the range check before the array
  subscript in ipu-prg.
- make some local functions static in ipuv3-plane.
- add a missing header for ipu_planes_assign_pre in ipuv3-plane.
- move arming of the vblank event from atomic_begin to atomic_flush, to avoid
  signalling atomic commit completion to userspace before plane atomic_update
  has finished, due to a race condition that is likely to be hit on i.MX6QP on
  PRE enabled channels.

----------------------------------------------------------------
Arnd Bergmann (1):
      gpu: ipu-v3: prg: avoid possible array underflow

Fabio Estevam (2):
      drm/imx: ipuv3-plane: Make functions static when possible
      drm/imx: ipuv3-plane: Include "imx-drm.h" header file

Lucas Stach (1):
      drm/imx: move arming of the vblank event to atomic_flush

 drivers/gpu/drm/imx/ipuv3-crtc.c  |  5 +++++
 drivers/gpu/drm/imx/ipuv3-plane.c | 10 ++++++----
 drivers/gpu/ipu-v3/ipu-prg.c      | 12 +++++++++---
 3 files changed, 20 insertions(+), 7 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:[~2018-03-22  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-22  9:20 [GIT PULL] drm/imx: fixes for early vblank event issue, array underflow error Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox