]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: skip "Issue additional private vm invalidation to MMHUB" on SRIOV
authorYifan Zha <Yifan.Zha@amd.com>
Mon, 1 Aug 2022 03:11:20 +0000 (11:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Sep 2022 19:11:40 +0000 (15:11 -0400)
commit1deaa2031f40d1284ac0cb62b9fedce7159fa7bb
treeb25e4b016a971878a8488553bf4bdfb6b0aa0571
parent8cb66395d3a0ab9bfcb31d8e66386ed6e2e4c26f
drm/amdgpu: skip "Issue additional private vm invalidation to MMHUB" on SRIOV

[Why]
vm_l2_bank_select_reserved_cid2 is a PF_only register
that cannot be programmed by VF. This feature is only
support HDP using GPUVM page tables to access FB memory
which should be disabled on SRIOV.

[How]
Disable the feature on VF.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Yifan Zha <Yifan.Zha@amd.com>
Signed-off-by: Horace Chen <horace.chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c