diff options
| author | Ville Syrjälä <[email protected]> | 2019-11-22 19:56:21 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2019-11-28 13:33:33 +0200 |
| commit | 2e351705f18a80dea6398233ac21a02aff5b0597 (patch) | |
| tree | 502b3658e5eb462b54690d9da775df72c087e607 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 433480c1afd44f3e1e664b85063d98cefeefa0ed (diff) | |
drm/rect: Keep the scaled clip bounded
Limit the scaled clip to only clip at most dst_w/h pixels.
This avoids the problem with clip_scaled() not being able
to return negative values. Since new_src_w/h is now properly
bounded we can remove the clamp()s.
Cc: Benjamin Gaignard <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Daniel Vetter <[email protected]>
Testcase: igt/kms_selftest/drm_rect_clip_scaled_signed_vs_unsigned
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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions