xf86-video-intel: fix artifacts with firefox, patch from upstream.
This commit is contained in:
parent
39dd65a018
commit
d04911a14d
30
srcpkgs/xf86-video-intel/patches/firefox_image_fix.diff
Normal file
30
srcpkgs/xf86-video-intel/patches/firefox_image_fix.diff
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
From 77ddadf0ec6b867a0638660bf06c82ad31577795 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chris Wilson <chris@chris-wilson.co.uk>
|
||||||
|
Date: Sun, 23 Jun 2013 21:01:12 +0000
|
||||||
|
Subject: sna: Clear 'clear' hint upon uploading into tiled
|
||||||
|
|
||||||
|
Fixes regression from
|
||||||
|
commit 53c113c3cc2f8527debc185f0819139ca8637637 [2.21.10]
|
||||||
|
Author: Chris Wilson <chris@chris-wilson.co.uk>
|
||||||
|
Date: Fri Jun 21 19:27:24 2013 +0100
|
||||||
|
|
||||||
|
sna: Allow PutImage to write inplace using manual tiling
|
||||||
|
|
||||||
|
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66059
|
||||||
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
||||||
|
---
|
||||||
|
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
|
||||||
|
index 0994c33..43d6a67 100644
|
||||||
|
--- src/sna/sna_accel.c
|
||||||
|
+++ src/sna/sna_accel.c
|
||||||
|
@@ -4000,6 +4000,8 @@ try_upload_tiled_x(PixmapPtr pixmap, RegionRec *region,
|
||||||
|
} while (--n);
|
||||||
|
__kgem_bo_unmap__cpu(&sna->kgem, priv->gpu_bo, dst);
|
||||||
|
|
||||||
|
+ priv->clear = false;
|
||||||
|
+ priv->cpu = false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
cgit v0.9.0.2-2-gbebe
|
@ -1,7 +1,7 @@
|
|||||||
# Template build file for 'xf86-video-intel'.
|
# Template build file for 'xf86-video-intel'.
|
||||||
pkgname=xf86-video-intel
|
pkgname=xf86-video-intel
|
||||||
version=2.21.10
|
version=2.21.10
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-default-accel=sna --enable-kms-only --enable-sna"
|
configure_args="--with-default-accel=sna --enable-kms-only --enable-sna"
|
||||||
makedepends="pkg-config dri2proto>=2.6 libudev-devel>=183 libdrm-devel
|
makedepends="pkg-config dri2proto>=2.6 libudev-devel>=183 libdrm-devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user