drm/amdgpu/vcn3.0: stall DPG when WPTR/RPTR reset
authorBoyuan Zhang <boyuan.zhang@amd.com>
Sun, 10 May 2020 19:47:03 +0000 (15:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Dec 2020 03:55:00 +0000 (22:55 -0500)
commitac2db9488cf21de0be7899c1e5963e5ac0ff351f
treee6882640c3c4aa39a6f5e0b1771c4c8a2e2b82f0
parent7e0b367db85ef7b91399006253759a024eab7653
drm/amdgpu/vcn3.0: stall DPG when WPTR/RPTR reset

Port from VCN2.5
Add vcn dpg harware synchronization to fix race condition
issue between vcn driver and hardware.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.9.x
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c