f132fb2cd0
Before gfx90a, coherent memory is uncached. So it was reasonable when environment variable HSA_DISABLE_CACHE is set, memory is mapped as coherent. On gfx90a, coherent memory can be cached, so mapping memory as coherent can't guarantee memory is uncached. When HSA_DISABLE_CACHE is set, we have to map memory as uncached. Change-Id: Ia5ed4cf0ad6aef5644dc8c9e6632b52d606f06f4 Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>