]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn2.0: stall DPG when WPTR/RPTR reset
authorJames Zhu <James.Zhu@amd.com>
Tue, 18 Feb 2020 22:44:39 +0000 (17:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:45 +0000 (14:44 -0400)
commita8285eba1bce2aaa099e49675c343fd48201e7cb
treeef1626b951b135cecb7e3e7d2a51f43cc8a81465
parent04cfc79899327b2178a9243dc78778f61b935425
drm/amdgpu/vcn2.0: 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_0.c