commit | 3fe023d42ea82be7d32ad26ab9409d970c1d361f | [log] [tgz] |
---|---|---|
author | Yong Zhao <Yong.Zhao@amd.com> | Wed Sep 25 17:06:12 2019 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Oct 03 09:11:03 2019 -0500 |
tree | ccb24804431d6cd433aa47c75960f99338c8af4e | |
parent | d9d4623c87e9318549e0c85133c38909d9e8c47a [diff] |
drm/amdkfd: Query vmid pasid mapping through stored info for non HWS Because we record the mapping under non HWS mode in the software, we can query pasid through vmid using the stored mapping instead of reading from ATC registers. This also prepares for the defeatured ATC block in future ASICs. 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>