diff options
author | Horace Chen <horace.chen@amd.com> | 2022-07-21 12:18:18 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-01 15:11:06 -0400 |
commit | afb50906cf029a40b713c60d8800d3ee25ebe03d (patch) | |
tree | db3b6ad461b3e36a6d7d016d437daef3598d5663 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | ca4ba3394e2aebcee123055a1275980940f21598 (diff) |
drm/amdgpu: enable WPTR_POLL_ENABLE for sriov on sdma_v6_0
[Why]
Under SR-IOV, if VF is switched out then its doorbell will be disabled,
SDMA rely on WPTR_POLL to get doorbells which was sent during VF
switched-out time.
[How]
For SR-IOV, set SDMA WPTR_POLL_ENABLE to 1.
Acked-by: Christian König <christian.koenig@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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions