From e0f5020117d0a6340f4208ec52bd3e3b3aa99a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Wed, 14 Mar 2018 16:54:52 +0100 Subject: Pass extents to radeon_scanout_do_update by value radeon_scanout_extents_intersect could leave the scanout damage region in an invalid state, triggering debugging checks in pixman: *** BUG *** In pixman_region_append_non_o: The expression r->x1 < r->x2 was false Set a breakpoint on '_pixman_log_error' to debug (Ported from amdgpu commit 8af989546907ad9fb491d940e1936d3bfc89276b) --- src/radeon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon.h') diff --git a/src/radeon.h b/src/radeon.h index 0815cd98..598a83c1 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -672,7 +672,7 @@ Bool radeon_dri3_screen_init(ScreenPtr screen); /* radeon_kms.c */ Bool radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id, - PixmapPtr src_pix, BoxPtr extents); + PixmapPtr src_pix, BoxRec extents); void RADEONWindowExposures_oneshot(WindowPtr pWin, RegionPtr pRegion #if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,16,99,901,0) , RegionPtr pBSRegion -- cgit v1.2.3