drm/amdgpu/sdma4: Enable sdma poll mem addr on vega10 for SRIOV
authorFrank Min <Frank.Min@amd.com>
Wed, 28 Jun 2017 12:02:04 +0000 (20:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:49 +0000 (14:45 -0400)
commit51668b0b1bc23d2b0cedf19fd1cc210e85a823a2
tree7035276f4dc44910566549e63f419aa09a659b72
parent81fe3f35ac91ce8cbeec8b9b264523f63d702218
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c