]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: rockchip: rga: remove redundant rga_frame variables
authorSven Püschel <s.pueschel@pengutronix.de>
Wed, 20 May 2026 22:44:14 +0000 (00:44 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 21 May 2026 10:32:19 +0000 (12:32 +0200)
commitdbf91b1ab6d95662ceb66cb55abceda5b4dc2f2b
tree6b8ec686c5b3614895004c3aa9fa58df6535145d
parent74d010fbdc4478293ceb96eed7f6609fe6c7529c
media: rockchip: rga: remove redundant rga_frame variables

Remove the redundant rga_frame variables width, height and color space.
The value of these variables is already contained in the pix member
of rga_frame. The code also keeps these values in sync. Therefore drop
them in favor of the existing pix member.

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>
drivers/media/platform/rockchip/rga/rga-buf.c
drivers/media/platform/rockchip/rga/rga-hw.c
drivers/media/platform/rockchip/rga/rga.c
drivers/media/platform/rockchip/rga/rga.h