]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 2 Dec 2020 22:36:50 +0000 (17:36 -0500)
commit7643023eefcdc1161b7beb92ee925e53444bdbd1
treea5d68c52766f19d472608e7c271e312ef1dd7d3f
parentfb8284a50e9f7c5506f55bc2ab8762a0f1b855ab
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>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c