remove i965_Remove_early_release_of_DRI2_miptree.patch
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
8463303ff0
commit
d3dca09dbe
@ -1,30 +0,0 @@
|
|||||||
From e2a696a4cd93c2dbe445243de48ed478fbdb8009 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Wilson <chris@chris-wilson.co.uk>
|
|
||||||
Date: Fri, 10 Jul 2015 10:41:35 +0100
|
|
||||||
Subject: i965: Remove early release of DRI2 miptree
|
|
||||||
|
|
||||||
intel_update_winsys_renderbuffer_miptree() will release the existing
|
|
||||||
miptree when wrapping a new DRI2 buffer, so we can remove the early
|
|
||||||
release and so prevent a NULL mt dereference should importing the new
|
|
||||||
DRI2 name fail for any reason. (Reusing the old DRI2 name will result
|
|
||||||
in the rendering going astray, to a stale buffer, and not shown on the
|
|
||||||
screen, but it allows us to issue a warning and not crash much later in
|
|
||||||
innocent code.)
|
|
||||||
|
|
||||||
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
||||||
|
|
||||||
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
|
|
||||||
index e8d1396..72f3897 100644
|
|
||||||
--- a/src/mesa/drivers/dri/i965/brw_context.c
|
|
||||||
+++ b/src/mesa/drivers/dri/i965/brw_context.c
|
|
||||||
@@ -1388,7 +1388,6 @@ intel_process_dri2_buffer(struct brw_context *brw,
|
|
||||||
buffer->cpp, buffer->pitch);
|
|
||||||
}
|
|
||||||
|
|
||||||
- intel_miptree_release(&rb->mt);
|
|
||||||
bo = drm_intel_bo_gem_create_from_name(brw->bufmgr, buffer_name,
|
|
||||||
buffer->name);
|
|
||||||
if (!bo) {
|
|
||||||
--
|
|
||||||
cgit v0.10.2
|
|
||||||
|
|
@ -70,11 +70,6 @@ Source3: vl_mpeg12_decoder.c
|
|||||||
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
||||||
Source4: Mesa-MLAA-License-Clarification-Email.txt
|
Source4: Mesa-MLAA-License-Clarification-Email.txt
|
||||||
|
|
||||||
# upstream workaround for recent intel crasher regression
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1259443
|
|
||||||
# http://bugs.freedesktop.org/show_bug.cgi?id=86281
|
|
||||||
Patch1: i965_Remove_early_release_of_DRI2_miptree.patch
|
|
||||||
|
|
||||||
Patch15: mesa-9.2-hardware-float.patch
|
Patch15: mesa-9.2-hardware-float.patch
|
||||||
Patch20: mesa-10.2-evergreen-big-endian.patch
|
Patch20: mesa-10.2-evergreen-big-endian.patch
|
||||||
Patch30: mesa-10.3-bigendian-assert.patch
|
Patch30: mesa-10.3-bigendian-assert.patch
|
||||||
@ -349,7 +344,6 @@ Mesa Direct3D9 state tracker development package
|
|||||||
%setup -q -n mesa-%{git}
|
%setup -q -n mesa-%{git}
|
||||||
grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1
|
grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1
|
||||||
|
|
||||||
%patch1 -p1 -b .i965_Remove_early_release_of_DRI2_miptree
|
|
||||||
%patch15 -p1 -b .hwfloat
|
%patch15 -p1 -b .hwfloat
|
||||||
%patch20 -p1 -b .egbe
|
%patch20 -p1 -b .egbe
|
||||||
%patch30 -p1 -b .beassert
|
%patch30 -p1 -b .beassert
|
||||||
|
Loading…
Reference in New Issue
Block a user