i965: Add 'wait' instruction support
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 25 Jun 2010 08:05:24 +0000 (16:05 +0800)
committerEric Anholt <eric@anholt.net>
Thu, 8 Jul 2010 19:50:53 +0000 (12:50 -0700)
commit20be3ff57670529a410b30a1008a71e768d08428
treef109775f8056a760217840e1bddc003e6b16afe1
parenta3cc7585eae1dd7aa1f2257e787c784672f49831
i965: Add 'wait' instruction support

When EU executes 'wait' instruction, it stalls and sets notification
register state. Host can issue MMIO write to clear notification
register state to allow EU continue on executing again.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c