summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-11-22 19:56:21 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-11-28 13:33:33 +0200
commit2e351705f18a80dea6398233ac21a02aff5b0597 (patch)
tree502b3658e5eb462b54690d9da775df72c087e607 /tools/perf/scripts/python
parent433480c1afd44f3e1e664b85063d98cefeefa0ed (diff)
downloadlinux-2e351705f18a80dea6398233ac21a02aff5b0597.tar.gz
linux-2e351705f18a80dea6398233ac21a02aff5b0597.zip
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 <benjamin.gaignard@st.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Daniel Vetter <daniel@ffwll.ch> Testcase: igt/kms_selftest/drm_rect_clip_scaled_signed_vs_unsigned Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191122175623.13565-3-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions