]> 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)
commite33dac39bcf9978061df95f1510b2ec6bfab07fc
tree2ef14d128ce920fe55522e380c2eed7c17904e0d
parent19dde58929c04575aff0c61d99efaf023f6810b5
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