]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sdma3: Enable sdma wptr polling for SRIOV
authorXiangliang.Yu <Xiangliang.Yu@amd.com>
Tue, 12 Sep 2017 09:31:46 +0000 (17:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:01 +0000 (15:14 -0400)
commit346f405a370663b855ba31a69828bbc38e20d38a
tree2ef14d128ce920fe55522e380c2eed7c17904e0d
parent6bb596c9557b5f43bc9f478b6d1903f71b7364f0
drm/amdgpu/sdma3: Enable sdma wptr polling for SRIOV

When hypervisor triggering FLR for one of VFs, need to enable sdma
wptr polling to avoid missing wptr update if enabling doorbell.

Signed-off-by: Xiangliang.Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c