summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2026-05-20 22:27:38 +0200
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-07-31 09:13:10 +0200
commit34fd8a99bd4053897adcd39c30c94e22fa51a9f4 (patch)
treeb4d7d58a76ef88bf65aa4f7d4f8ac4d2971b5f83 /tools/perf/scripts/python/stackcollapse.py
parentfc312f830d8df6c082bd6f7250aa5c0ff063eea4 (diff)
media: nxp: imx8-isi: Drop unneeded downscaling factor clamping
The total scaling factor including bi-linear downscaling and decimation is clamped to 16. The bilinear factor calculation therefore produceds values guaranteed not to exceed the maximum factor of 2.0. The clamping is unneeded, drop it. Note that the ISI_DOWNSCALE_THRESHOLD value of 0x4000 is incorrect, as that would be a factor of 4.0. This was inconsequential given that the computed factor never exceeded 0x2000. Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Guoniu Zhou <guoniu.zhou@nxp.com> Link: https://patch.msgid.link/20260520202738.86782-1-laurent.pinchart@ideasonboard.com Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions