Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-mesa: Commit

external/mesa


Commit MetaInfo

Révisionb2f15c3ae83e970bc81ef193975996dc8aef88d8 (tree)
l'heure2017-12-12 18:49:18
AuteurMauro Rossi <issor.oruam@gmai...>
CommiterChih-Wei Huang

Message de Log

nv30 additional locking fix in context flush

mtx_lock() and mtx_unlock() are added around PUSH_KICK(push) call
like in nv50 and nvc0 implementations of locking

Change Summary

Modification

--- a/src/gallium/drivers/nouveau/nv30/nv30_context.c
+++ b/src/gallium/drivers/nouveau/nv30/nv30_context.c
@@ -79,7 +79,9 @@ nv30_context_flush(struct pipe_context *pipe, struct pipe_fence_handle **fence,
7979 nouveau_fence_ref(nv30->screen->base.fence.current,
8080 (struct nouveau_fence **)fence);
8181
82+ mtx_lock(&nv30->screen->base.push_mutex);
8283 PUSH_KICK(push);
84+ mtx_unlock(&nv30->screen->base.push_mutex);
8385
8486 nouveau_context_update_frame_stats(&nv30->base);
8587 }
Afficher sur ancien navigateur de dépôt.