Skip to content

iris: Fix small BAR mode regression from mmap reworks

Kenneth Graunke requested to merge kwg/mesa:iris-small-bar-fix into main

iris: Fix small BAR mode regression from mmap reworks

The IRIS_HEAP_DEVICE_LOCAL_PREFERRED heap was returning IRIS_MMAP_WC prior to this rework, which accidentally made it start returning IRIS_MMAP_NONE. We can always migrate to system memory if we need to map it. It's necessary to be able to map things like the border color pool and other state uploaders, which use this heap.

Fixes: 21170a58 ("iris: Split system memory heap into cached-coherent and uncached heaps")

Merge request reports