Skip to content

drm: Fix hang on zoom

Derek Foreman requested to merge derekf/weston:damage into main

Transforming the scanout damage by the zoom will result in rectangles outside of the display, and some with negative co-ordinates. This makes at least some drivers unhappy (tested on vmware), and the page flip fails, and weston hangs indefinitely.

Clip the damage to the output so we don't fall down.

Signed-off-by: Derek Foreman derek.foreman@collabora.com

Merge request reports