summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorSven Püschel <s.pueschel@pengutronix.de>2026-05-21 01:44:28 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-21 13:32:21 +0300
commit918c4589a0e2bb7338b556c28ad5cb36e8e27795 (patch)
tree0fd3d658025f03356142b179ddeffe985d84cbe5 /include/linux/errqueue.h
parentd11d812ddea312659c28d4402c059f88f2b4e348 (diff)
downloadlinux-918c4589a0e2bb7338b556c28ad5cb36e8e27795.tar.xz
media: rockchip: rga: remove stride from rga_frame
Remove the stride variable from rga_frame. Despite the comment it didn't involve any calculation and is just a copy of the plane_fmt[0].bytesperline value. Therefore avoid this struct member and use the bytesperline value directly in the places where it is required. Also drop the dependency on the depth format member, which was only used to calculate the stride of the default format. This is already done by the v4l2_fill_pixfmt_mp_aligned helper and used as stride in try_fmt. Therefore using it's value also for the default format stride is just more consistent. 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/errqueue.h')
0 files changed, 0 insertions, 0 deletions