diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2018-09-18 11:34:17 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2018-11-05 14:40:08 +0100 |
commit | ff652fcf84f7a0977bbad4eab976f7813665fbc8 (patch) | |
tree | 44f063e3bec021c785a50b4064ec4bce9c291dd7 /tools/vm | |
parent | a3f42419e2a72b174a7d993debea85df7a56bd4b (diff) |
gpu: ipu-v3: image-convert: relax alignment restrictions
For the planar but U/V-packed formats NV12 and NV16, 8 pixel width
alignment is good enough to fulfill the 8 byte stride requirement.
If we allow the input 8-pixel DMA bursts to overshoot the end of the
line, the only input alignment restrictions are dictated by the pixel
format and 8-byte aligned line start address.
Since different tile sizes are allowed, the output tile with / height
alignment doesn't need to be multiplied by number of columns / rows.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
[slongerbeam@gmail.com: Bring in the fixes to format width and
height alignment restrictions from imx-media-mem2mem.c.]
Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions