i965: Handle URB_FENCE erratum for Broadwater
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 3 Mar 2011 18:15:03 +0000 (18:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Mar 2011 09:58:31 +0000 (09:58 +0000)
commit18dd7932c7fc13e230384bcab08311a5de5d6de7
tree91a6e1e76e8034375b0493fcd63d8d3ed6d2d725
parent1546291e5b8d3ac02f5bee38252f9d479bcf95cc
i965: Handle URB_FENCE erratum for Broadwater

There is a silicon bug which causes unpredictable behaviour if the
URB_FENCE command should cross a cache-line boundary. Pad before the
command to avoid such occurrences. As this command only applies to
gen4/5, do the fixup unconditionally as the specs do not actually state
for which chip it was fixed (and the cost is negligible)...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_urb.c