commit | 22ec08081956084687e0824ffd0ff4d768584143 | [log] [tgz] |
---|---|---|
author | Steve Longerbeam <slongerbeam@gmail.com> | Tue Sep 18 11:34:07 2018 +0200 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Mon Nov 05 14:40:06 2018 +0100 |
tree | 964b4e2e3c2d86f939f0556f0b84ceb4cf4b07f0 | |
parent | fac8033fe3abbfd9b4404bf803e00a370277470a [diff] |
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>