]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Implement get_vmid_pasid_mapping for gfx11
authorGraham Sider <Graham.Sider@amd.com>
Thu, 21 Apr 2022 14:32:02 +0000 (10:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:11 +0000 (17:53 -0400)
commit7f654b3d60b28c782f61990840f44e45f270c33a
tree83e3742f26f0dde22016c5e74aad04ca4fae87bf
parent41470ee64eabfb8974df254e82e3b3de6b0b9d01
drm/amdgpu: Implement get_vmid_pasid_mapping for gfx11

Implement gmc_v11_0_get_vmid_pasid_mapping_info to fix
gmc_v11_0_flush_gpu_tlb_pasid logic. Change from gfx10 to use
IH_VMID_*_LUT registers for VMID -> PASID mapping.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c