diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-03-14 16:54:52 +0100 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2018-03-14 16:54:52 +0100 |
commit | e0f5020117d0a6340f4208ec52bd3e3b3aa99a1b (patch) | |
tree | 6490cde523357666d1adac96dab8e083dbe39cf6 /src/radeon.h | |
parent | b915e8e6fb956e983c2ce2a5565c20838c85707c (diff) |
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)
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |