aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2023-04-03 17:45:41 +0800
committerAlex Deucher <[email protected]>2023-04-18 16:28:53 -0400
commit21fc0ff38f571debdba6aaff944addb50f49a7f7 (patch)
treeeefbd1b1965e41ac43135dde27a08d89d0346a8b /tools/perf/scripts/python/syscall-counts.py
parent276641775848020c6e84166d1bc885e028a04680 (diff)
drm/amd/display: fix a divided-by-zero error
[Why & How] timing.dsc_cfg.num_slices_v can be zero and it is necessary to check before using it. This fixes the error "divide error: 0000 [#1] PREEMPT SMP NOPTI". Reviewed-by: Aurabindo Pillai <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions