From: Philipp Zabel <p.zabel@pengutronix.de>
To: Dave Airlie <airlied@gmail.com>
Cc: kernel@pengutronix.de, dri-devel@lists.freedesktop.org
Subject: [GIT PULL] drm/imx: fixes for early vblank event issue, array underflow error
Date: Thu, 22 Mar 2018 10:20:36 +0100 [thread overview]
Message-ID: <1521710436.4035.2.camel@pengutronix.de> (raw)
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
reply other threads:[~2018-03-22 9:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521710436.4035.2.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox