Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
Mesa
U_i965-Remove-early-release-of-DRI2-miptree.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_i965-Remove-early-release-of-DRI2-miptree.patch of Package Mesa
From: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Nov 16 16:47:39 2015 +0100 Subject: [PATCH]i965: Remove early release of DRI2 miptree Patch-mainline: Upstream References: boo#945444 Signed-off-by: Egbert Eich <eich@suse.com> 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> Signed-off-by: Egbert Eich <eich@suse.de> --- Mesa-10.3.7/src/mesa/drivers/dri/i965/brw_context.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Mesa-10.3.7/src/mesa/drivers/dri/i965/brw_context.c b/Mesa-10.3.7/src/mesa/drivers/dri/i965/brw_context.c index 619f2d5..913f1d9 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -1339,7 +1339,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) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor