Skip to content
  • Rafael Antognolli's avatar
    iris: Align fast clear color state buffer to a page. · ffb46b2b
    Rafael Antognolli authored
    
    
    On gen11 and older, compressed images are tiled and aligned to 4K. On
    gen12 this 4K alignment restriction was removed. However, only aligning
    the fast clear color buffer to 64B (a cacheline, as it's on the
    documentation) is causing some bugs where the fast clear color is not
    converted during the fast clear operation. Aligning things to 4K seems
    to fix it.
    
    v2: Fix typo case in the comment (Nanley)
    v3: Rebase and fix conflicts.
    v4: Fix rebase mistake (Nanley).
    
    Reviewed-by: default avatarNanley Chery <nanley.g.chery@intel.com>
    ffb46b2b