mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
intel: Set the lock flag early to avoid deadlock.
Another regression from the intel_context.c merge.
This commit is contained in:
parent
de1e9880f8
commit
5197a31b8e
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue