Skip to content
  • Chris Wilson's avatar
    i965: Ensure that URB_FENCE is aligned to 64-bytes · 4902f546
    Chris Wilson authored
    
    
    The PRM (Vol 1, p32) specifies that the URB_FENCE command must not cross
    a cache-line boundary (64-bytes) in order to workaround a silicon issue.
    Ensure that it does not by inserting an alignment point before the atomic
    section.
    
    This is a slightly too large hammer, but the easiest method to work with
    the current BEGIN_BATCH/ADVANCE_BATCH protections.
    
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    4902f546