diff options
author | 2017-12-11 16:48:33 +0800 | |
---|---|---|
committer | 2017-12-12 14:45:47 -0500 | |
commit | 2ffe31deb27579e2f2c9444e01f4d8abf385d145 (patch) | |
tree | 30b712dbe3053fd00219ad99a36eceb2d2b5d5da /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | drm/amdgpu: update one PDE at a time v2 (diff) | |
download | wireguard-linux-2ffe31deb27579e2f2c9444e01f4d8abf385d145.tar.xz wireguard-linux-2ffe31deb27579e2f2c9444e01f4d8abf385d145.zip |
drm/amdgpu: use polling mem to set SDMA3 wptr for VF
On Tonga VF, there're 2 sources updating wptr registers for
sdma3: 1) polling mem and 2) doorbell. When doorbell and polling
mem are both enabled on sdma3, there will be collision hit in
occasion between those two sources when ucode and h/w are doing
the updating on wptr register in parallel. Issue doesn't happen
on CP GFX/Compute since CP drops all doorbell writes when VF is
inactive. So enable polling mem and don't use doorbell for SDMA3.
Signed-off-by: Pixel Ding <Pixel.Ding@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions