diff options
| author | Sven Püschel <s.pueschel@pengutronix.de> | 2026-05-21 01:44:20 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-05-21 13:32:20 +0300 |
| commit | 00910c4f731773276d75acdcee3bc15f19a37705 (patch) | |
| tree | 41ec71b191e8331ac80e6c46b00d1be07fd2e379 /include/linux/timerqueue.h | |
| parent | 6f4e57d57c474be1202a2e0c5c7a9b543503216a (diff) | |
| download | linux-00910c4f731773276d75acdcee3bc15f19a37705.tar.xz | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
