drm/amdkfd: Record vmid pasid mapping in the driver for non HWS mode
authorYong Zhao <Yong.Zhao@amd.com>
Thu, 26 Sep 2019 03:49:46 +0000 (23:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:03 +0000 (09:11 -0500)
commitd9d4623c87e9318549e0c85133c38909d9e8c47a
treeece24b0a39bb6123b83adca8648f4f6767eab282
parent6027b1bf6071fc61a5aa11b9922a2e0e91bff1ea
drm/amdkfd: Record vmid pasid mapping in the driver for non HWS mode

This makes possible the vmid pasid mapping query through software.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h