Skip to content

anv: fix incorrect VMA alignment for CCS main surfaces

Lionel Landwerlin requested to merge llandwerlin/mesa:staging/19.3 into staging/19.3

Maybe finer way of dealing with this requirement would be to increase the number of pdevice->memory.types[] to add a category for special alignment cases.

Meanwhile this fixes the problem of CCS surface alignment and it's probably not going to cause issues given the size of our address space.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: 6af8a4ac ("anv: Add aux-map translation for gen12+") Reviewed-by: Jason Ekstrand jason@jlekstrand.net (cherry picked from commit 5fdea9f4)

Merge request reports