vc4: Emit semaphore instructions for new kernel ABI.
authorEric Anholt <eric@anholt.net>
Tue, 18 Nov 2014 20:16:55 +0000 (12:16 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Nov 2014 20:46:55 +0000 (12:46 -0800)
commit82e919d33bbe508b3e1ba883a01ef2512dbc8f72
treeb39b3b8e5ad91e33b786f440cb74b06f748d2904
parent05f165b62d1adce60b18783407c80b9fa2efa533
vc4: Emit semaphore instructions for new kernel ABI.

Previously, the kernel would dispatch thread 0, wait, then dispatch thread
1.  By insisting that the thread contents use semaphores in the right
place, the kernel can sleep for longer by dispatching both threads at
once.
src/gallium/drivers/vc4/kernel/vc4_drv.h
src/gallium/drivers/vc4/kernel/vc4_validate.c
src/gallium/drivers/vc4/vc4_context.c