drm/amdgpu/vcn: add common vcn sofware ring decode
authorJames Zhu <James.Zhu@amd.com>
Tue, 3 May 2022 16:18:49 +0000 (12:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 May 2022 20:57:36 +0000 (16:57 -0400)
commit60a2e9eecf1676e3d59f050e5c9688830d7425cc
tree0b8234ce14955cd2140c70ec169256072914bd00
parente02fe3bc7aba2f7b292c6005b8334fffd4ac5e5f
drm/amdgpu/vcn: add common vcn sofware ring decode

Add common vcn sofware ring decode.

v2: fixed compiling error

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Christian Koenig <Christian.Koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.h [new file with mode: 0644]