summaryrefslogtreecommitdiffstats
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorHans de Goede <johannes.goede@oss.qualcomm.com>2025-12-30 18:03:07 +0100
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-01-14 23:33:04 +0100
commitdf0090002c56b154ac543167fa92ba7b77f2b09f (patch)
treeaaeda6fe7107fa900f920f38f2a231c700792c00 /tools/lib/python/kdoc
parent5e3c0bd3f864fec9f895bd42c172f56ac4cdeb63 (diff)
downloadlinux-df0090002c56b154ac543167fa92ba7b77f2b09f.tar.gz
linux-df0090002c56b154ac543167fa92ba7b77f2b09f.zip
media: mt9m114: Update source pad selection and format when sink pad format changes
Call mt9m114_ifp_update_sel_and_src_fmt() on sink pad format changes to propagate these downstream. This is necessary in 2 different scenarios: 1. When passing through RAW10 bypassing the scaler then any sink pad format changes must be propagated to the crop/compose selections and to the source pad format. 2. When the scaler is active, then the crop-rectangle cannot be bigger then the sink pad format minus a 4 pixel border all around. If the sink format change reduces the size then things also needs to be propagated downstream. Rather then adding extra code to check for these conditions, simply always propagate sink pad format changes downstream. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions