Re: [Mesa-dev] [PATCH] i965: Stop putting 8 NOPs after each prorgam.

2012-08-31 Thread Kenneth Graunke
On 08/31/2012 12:19 PM, Eric Anholt wrote: > As far as I can see, the intention of the requirement that we do so is to > prevent instruction prefetch from wandering out into either unmapped memory or > memory with a different caching type, and hanging the chip. The kernel makes > sure that the pag

[Mesa-dev] [PATCH] i965: Stop putting 8 NOPs after each prorgam.

2012-08-31 Thread Eric Anholt
As far as I can see, the intention of the requirement that we do so is to prevent instruction prefetch from wandering out into either unmapped memory or memory with a different caching type, and hanging the chip. The kernel makes sure that the page after your BO has a valid page of the same cachin