diff options
author | Jouni Högander <[email protected]> | 2022-05-13 17:28:11 +0300 |
---|---|---|
committer | José Roberto de Souza <[email protected]> | 2022-05-16 05:47:11 -0700 |
commit | d6774b8c3c5813aa541c9148f641d3d8d4b296d2 (patch) | |
tree | e17d4df10b2f5ccb42e7b3f22c4fecced21cd6e7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 057a6a1936e79c0bc9c86537fb9886ed39cd078a (diff) |
drm/i915: Ensure damage clip area is within pipe area
Current update area calculation is not handling situation where
e.g. cursor plane is fully or partially outside pipe area.
Fix this by checking damage area against pipe_src area using
drm_rect_intersect.
v2: Set x1 and x2 in damaged_area initialization
v3: Move drm_rect_intersect into clip_area_update
v4: draw_area -> pipe_src
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5440
Cc: José Roberto de Souza <[email protected]>
Cc: Mika Kahola <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Signed-off-by: Jouni Högander <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions