Hello community, here is the log from the commit of package xf86-video-intel for openSUSE:Factory checked in at 2014-09-26 10:51:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xf86-video-intel (Old) and /work/SRC/openSUSE:Factory/.xf86-video-intel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-intel" Changes: -------- --- /work/SRC/openSUSE:Factory/xf86-video-intel/xf86-video-intel.changes 2014-09-12 15:25:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-intel.new/xf86-video-intel.changes 2014-09-26 10:51:22.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Sep 24 11:27:46 UTC 2014 - [email protected] + +- U_sna-Validate-framebuffer-tiling-before-creation.patch + Fix regression causing tiling settings not being validated + which subsequently lead to failed surface allocations (bnc#898169). + +------------------------------------------------------------------- New: ---- U_sna-Validate-framebuffer-tiling-before-creation.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xf86-video-intel.spec ++++++ --- /var/tmp/diff_new_pack.N7qpgx/_old 2014-09-26 10:51:23.000000000 +0200 +++ /var/tmp/diff_new_pack.N7qpgx/_new 2014-09-26 10:51:23.000000000 +0200 @@ -88,6 +88,7 @@ ExclusiveArch: %ix86 x86_64 Patch0: U_sna_dri3_mesa_relies_upon_implicit_fences.patch +Patch1: U_sna-Validate-framebuffer-tiling-before-creation.patch %x11_abi_videodrv_req @@ -106,6 +107,7 @@ %setup -q %patch0 -p1 +%patch1 -p1 %build autoreconf -fi ++++++ U_sna-Validate-framebuffer-tiling-before-creation.patch ++++++ From: Egbert Eich <[email protected]> Date: Wed Sep 24 08:18:32 2014 +0200 Subject: [PATCH]sna: Validate framebuffer tiling before creation Patch-mainline: to be upstreamed Git-commit: dbe6d105a60ff28419b549d439bbb29f50b28f08 Git-repo: git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel References: bnc#898169 Signed-off-by: Egbert Eich <[email protected]> In sna_pixmap_alloc_gpu() a different than the default tiling may be picked by a usage hint. Before passing the tiling to kgem_create_2d() fix it up by calling kgem_choose_tiling(). This avoids kgem_surface_size() not being able to find a surface size for the tiling value. Fixes regression from commit a10781b70f222f3997928fa979f6292617f79316 [2.99.913] Author: Chris Wilson <[email protected]> Date: Tue Jul 1 15:11:07 2014 +0100 sna: Enforce LinearFramebuffer option Signed-off-by: Egbert Eich <[email protected]> --- src/sna/sna_accel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index ab43831..37e1e7c 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -1617,7 +1617,11 @@ static bool sna_pixmap_alloc_gpu(struct sna *sna, /* Use tiling by default, but disable per user request */ if (pixmap->usage_hint == SNA_CREATE_FB && (sna->flags & SNA_LINEAR_FB) == 0) { flags |= CREATE_SCANOUT; - tiling = -I915_TILING_X; + tiling = kgem_choose_tiling(&sna->kgem, + -I915_TILING_X, + pixmap->drawable.width, + pixmap->drawable.height, + pixmap->drawable.bitsPerPixel); } else tiling = sna_pixmap_default_tiling(sna, pixmap); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
