summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorSteve Longerbeam <slongerbeam@gmail.com>2018-09-18 11:34:07 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2018-11-05 14:40:06 +0100
commit22ec08081956084687e0824ffd0ff4d768584143 (patch)
tree964b4e2e3c2d86f939f0556f0b84ceb4cf4b07f0 /include/video
parentfac8033fe3abbfd9b4404bf803e00a370277470a (diff)
downloadlinux-22ec08081956084687e0824ffd0ff4d768584143.tar.gz
linux-22ec08081956084687e0824ffd0ff4d768584143.tar.bz2
linux-22ec08081956084687e0824ffd0ff4d768584143.zip
gpu: ipu-cpmem: add WARN_ON_ONCE() for unaligned dma buffers
Add a WARN_ON_ONCE() if either the Y/packed buffer, or the U/V offsets, are not aligned on 8-byte boundaries. This will catch alignment bugs in DRM, V4L2. Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com> Tested-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions