drm/amdgpu/sdma4: Enable sdma poll mem addr on vega10 for SRIOV

While doing flr on VFs, there is possibility to lost the doorbell
writing for sdma, so enable poll mem for sdma, then sdma fw would
check the pollmem holding wptr.

Signed-off-by: Frank Min <Frank.Min@amd.com>
Signed-off-by: Xiangliang.Yu <Xiangliang.Yu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Frank Min
2017-06-28 20:02:04 +08:00
committed by Alex Deucher
parent 81fe3f35ac
commit 51668b0b1b
2 changed files with 46 additions and 3 deletions

View File

@@ -1209,6 +1209,7 @@ struct amdgpu_sdma_instance {
struct amdgpu_ring ring;
bool burst_nop;
uint32_t poll_mem_offs;
};
struct amdgpu_sdma {