projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de1e988
)
intel: Set the lock flag early to avoid deadlock.
author
Kristian Høgsberg
<krh@redhat.com>
Fri, 29 Feb 2008 20:04:26 +0000
(15:04 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Fri, 29 Feb 2008 20:05:39 +0000
(15:05 -0500)
Another regression from the intel_context.c merge.
src/mesa/drivers/dri/intel/intel_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_context.c
b/src/mesa/drivers/dri/intel/intel_context.c
index 7e39f687bfafbf3bcaef67cc803d5a7c47e8ada5..ab615df68b12e5376ee0c0b6bf4a07153e00b8d5 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_context.c
+++ b/
src/mesa/drivers/dri/intel/intel_context.c
@@
-836,6
+836,7
@@
intelContendedLock(struct intel_context *intel, GLuint flags)
int me = intel->hHWContext;
drmGetLock(intel->driFd, intel->hHWContext, flags);
+ intel->locked = 1;
if (INTEL_DEBUG & DEBUG_LOCK)
_mesa_printf("%s - got contended lock\n", __progname);