e2f3bd2429
* rocr: Add support for VMM and RDMA Add extra CPU mapping so that kernel-mode drivers can look up the memory mapping by virtual address. * Update projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp Co-authored-by: Yiannis Papadopoulos <102817138+ypapadop-amd@users.noreply.github.com> * Update projects/rocr-runtime/runtime/hsa-runtime/core/inc/runtime.h Co-authored-by: Yiannis Papadopoulos <102817138+ypapadop-amd@users.noreply.github.com> * rocr: Honor uncache flag in memory_lock_to_pool() Also, combined several flag options used in apis into a single integer. Signed-off-by: Chris Freehill <cfreehil@amd.com> * rocr: Fix hsa_amd_pointer_info on CPU agents Fix hsa_amd_pointer_info query returning allowd on VMM pointers for CPU agents when CPU mapping was mapped with PROT_NONE. --------- Signed-off-by: Chris Freehill <cfreehil@amd.com> Co-authored-by: Yiannis Papadopoulos <102817138+ypapadop-amd@users.noreply.github.com> Co-authored-by: Chris Freehill <cfreehil@amd.com> Co-authored-by: cfreeamd <166262151+cfreeamd@users.noreply.github.com>