]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Skip the program of MMMC_VM_AGP_* in SRIOV on MMHUB v3_0_0
authorYifan Zha <Yifan.Zha@amd.com>
Wed, 27 Jul 2022 05:43:50 +0000 (13:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Sep 2022 19:11:35 +0000 (15:11 -0400)
commit8cb66395d3a0ab9bfcb31d8e66386ed6e2e4c26f
tree4d4951f65e851f74de149f377682968e05f5eed2
parente8e43b3fb097e6a37a805c6fc96e6be01758f4ce
drm/amdgpu: Skip the program of MMMC_VM_AGP_* in SRIOV on MMHUB v3_0_0

[Why]
VF should not program these registers, the value were defined in the host.

[How]
Skip writing them in SRIOV environment and program them on host side.

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/mmhub_v3_0.c