Skip to content
  • Emma Anholt's avatar
    i965: Stop putting 8 NOPs after each prorgam. · 81dff4f7
    Emma Anholt authored
    
    
    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 caching type,
    which meets this requirement, so there's no need to waste space between our
    programs (and in instruction cache) on this.
    
    Saves another 9kb instructions in l4d2 shaders.
    
    Acked-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
    81dff4f7