diff --git a/U_EXA-UMS-Synchronize-to-the-GPU-before-writing-solid-.patch b/U_EXA-UMS-Synchronize-to-the-GPU-before-writing-solid-.patch new file mode 100644 index 0000000..c60d805 --- /dev/null +++ b/U_EXA-UMS-Synchronize-to-the-GPU-before-writing-solid-.patch @@ -0,0 +1,31 @@ +From b0b7d8d26fd107df342b5c87b0a38e5bb08101a9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michel=20D=C3=A4nzer?= +Date: Wed, 9 May 2012 11:08:49 +0200 +Subject: [PATCH] EXA/UMS: Synchronize to the GPU before writing solid colour to scratch pixmap. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +UMS doesn't do this automagically. It's a big hammer that will probably suck +for performance, but I don't have any better ideas right now. + +Signed-off-by: Michel Dänzer +--- + src/radeon_exa_shared.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/radeon_exa_shared.c b/src/radeon_exa_shared.c +index 31e2870..45222b5 100644 +--- a/src/radeon_exa_shared.c ++++ b/src/radeon_exa_shared.c +@@ -157,6 +157,7 @@ PixmapPtr RADEONSolidPixmap(ScreenPtr pScreen, uint32_t solid) + return NULL; + } + ++ info->accel_state->exa->WaitMarker(pScreen, info->accel_state->exaSyncMarker); + memcpy(info->FB + exaGetPixmapOffset(pPix), &solid, 4); + + return pPix; +-- +1.7.3.4 + diff --git a/xf86-video-ati.changes b/xf86-video-ati.changes index 5d77b4f..312a4d7 100644 --- a/xf86-video-ati.changes +++ b/xf86-video-ati.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jun 8 14:58:57 UTC 2012 - sndirsch@suse.com + +- U_EXA-UMS-Synchronize-to-the-GPU-before-writing-solid-.patch + * that one is required to fix the rendering corruption in UMS + introduced with the previous patch (bnc#765973) + ------------------------------------------------------------------- Fri Jun 8 12:52:45 UTC 2012 - sndirsch@suse.com diff --git a/xf86-video-ati.spec b/xf86-video-ati.spec index 4dc88ed..74426e9 100644 --- a/xf86-video-ati.spec +++ b/xf86-video-ati.spec @@ -32,6 +32,7 @@ Patch6: U_xf86-video-ati-6.14.4-exa-solid-accel-r100.patch Patch7: U_xf86-video-ati-6.14.4-exa-solid-accel-r200.patch Patch8: U_xf86-video-ati-6.14.4-exa-solid-accel-r300.patch Patch9: U_EXA-Attempt-to-fix-solid-picture-acceleration-with-U.patch +Patch10: U_EXA-UMS-Synchronize-to-the-GPU-before-writing-solid-.patch BuildRequires: Mesa-devel BuildRequires: pkg-config BuildRequires: pkgconfig(fontsproto) @@ -72,6 +73,7 @@ driver as appropriate. %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 %build %configure