aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2019-11-22 19:56:20 +0200
committerVille Syrjälä <[email protected]>2019-11-28 13:33:23 +0200
commit433480c1afd44f3e1e664b85063d98cefeefa0ed (patch)
treeaa4c1fe41b761b118eabd4e53ba28a99b97c7098 /tools/perf/scripts/python
parent96227287fd3662a406117d1d56d0b9186279bfe7 (diff)
drm/rect: Avoid division by zero
Check for zero width/height destination rectangle in drm_rect_clip_scaled() to avoid a division by zero. Cc: [email protected] Fixes: f96bdf564f3e ("drm/rect: Handle rounding errors in drm_rect_clip_scaled, v3.") Cc: Maarten Lankhorst <[email protected]> Cc: Benjamin Gaignard <[email protected]> Cc: Daniel Vetter <[email protected]> Testcase: igt/kms_selftest/drm_rect_clip_scaled_div_by_zero Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Benjamin Gaignard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions