summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-06-16 18:29:18 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2025-07-03 12:02:43 +0300
commitc056064a207c914c8e50d1a6312a5fa65dcbae5f (patch)
treecc6dd8f92d02fc0972fc70b207f705e0cd526719 /tools/perf/scripts/python/task-analyzer.py
parent3a905e52c97ba79b7d9abf22005bab55c12eb620 (diff)
downloadlinux-c056064a207c914c8e50d1a6312a5fa65dcbae5f.tar.xz
media: venus: vdec: Make the range of us_per_frame explicit
Fps bigger than 0.000232829 fps, this fits in a 32 bit us_per_frame. There is no need to do a 64 bit division here. Also, the driver only works with whole fps. Found by cocci: drivers/media/platform/qcom/venus/vdec.c:488:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_u64 instead. Reviewed-by: Vikash Garodia <quic_vgarodia@quicinc.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # qrb5615-rb5 Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions