]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: rkisp1: Initialize color space on resizer sink and source pads
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Aug 2022 22:44:14 +0000 (00:44 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 6 Dec 2022 13:45:37 +0000 (14:45 +0100)
commit20ed5b1c77090d12b0b6ccb228b2b0d41ce9b630
tree40378e4075e2bd572525da1f469e725639ce4c27
parent73133a5ee51dd67b459534390f0b3b115b71f198
media: rkisp1: Initialize color space on resizer sink and source pads

BugLink: https://bugs.launchpad.net/bugs/1998843
[ Upstream commit 83b9296e399367862845d3b19984444fc756bd61 ]

Initialize the four color space fields on the sink and source video pads
of the resizer in the .init_cfg() operation. The resizer can't perform
any color space conversion, so set the sink and source color spaces to
the same defaults, which match the ISP source video pad default.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/media/platform/rockchip/rkisp1/rkisp1-resizer.c