diff options
| author | 2026-05-21 00:44:20 +0200 | |
|---|---|---|
| committer | 2026-05-21 12:32:20 +0200 | |
| commit | 00910c4f731773276d75acdcee3bc15f19a37705 (patch) | |
| tree | 41ec71b191e8331ac80e6c46b00d1be07fd2e379 /scripts/Makefile.thinlto | |
| parent | media: rockchip: rga: move cmdbuf to rga_ctx (diff) | |
media: rockchip: rga: align stride to 4 bytes
Add an alignment setting to rga_hw to set the desired stride alignment.
As the RGA2 register for the stride counts in word units, the code
already divides the bytesperline value by 4 when writing it into the
register. Therefore fix the alignment to a multiple of 4 to avoid
potential off by one errors due from the division.
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
