diff options
| author | Michael Tretter <m.tretter@pengutronix.de> | 2023-10-13 13:00:28 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-12-07 08:56:14 +0100 |
| commit | 60faf2b82b52ffc3f75ad7ddc28691ce3c367d82 (patch) | |
| tree | e960361d31a4d5ab8d16e7537f57cf838a93ee3e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | media: rockchip: rga: set dma mask to 32 bits (diff) | |
| download | linux-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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
