]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn2.5: stall DPG when WPTR/RPTR reset
authorJames Zhu <James.Zhu@amd.com>
Tue, 18 Feb 2020 22:46:29 +0000 (17:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:45 +0000 (14:44 -0400)
commit1393909aa863e55b1668c3917e14b6911603484f
tree62b0886fa1072163560287632e6708fe114e214c
parenta8285eba1bce2aaa099e49675c343fd48201e7cb
drm/amdgpu/vcn2.5: stall DPG when WPTR/RPTR reset

Add vcn dpg harware synchronization to fix race condition
issue between vcn driver and hardware.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c