summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorSven Püschel <s.pueschel@pengutronix.de>2026-05-21 00:44:20 +0200
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-21 12:32:20 +0200
commit00910c4f731773276d75acdcee3bc15f19a37705 (patch)
tree41ec71b191e8331ac80e6c46b00d1be07fd2e379 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent6f4e57d57c474be1202a2e0c5c7a9b543503216a (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 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions