aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2023-10-13 13:00:28 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-12-07 08:56:14 +0100
commit60faf2b82b52ffc3f75ad7ddc28691ce3c367d82 (patch)
treee960361d31a4d5ab8d16e7537f57cf838a93ee3e /tools/perf/scripts/python/flamegraph.py
parentmedia: rockchip: rga: set dma mask to 32 bits (diff)
downloadlinux-60faf2b82b52ffc3f75ad7ddc28691ce3c367d82.tar.gz
linux-60faf2b82b52ffc3f75ad7ddc28691ce3c367d82.zip
media: rockchip: rga: use clamp() to clamp size to limits
The try_fmt should limit the width and height to the know limits of the RGA. Use the clamp() helper instead of open coding the clamping. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions