v2: add VCN_SW_RING_EMIT_FRAME_SIZE.(Suggested from Christian) James Zhu (3): drm/amdgpu/vcn: add common vcn sofware ring decode drm/amdgpu/vcn3: replace ip based software ring decode with common vcn software ring decode drm/amdgpu/vcn4: replace ip based software ring decode with common vcn software ring decode drivers/gpu/drm/amd/amdgpu/Makefile | 1 + drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c | 85 ++++++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.h | 44 ++++++++++++ drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 80 +++------------------- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.h | 12 ---- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 20 +++--- 6 files changed, 148 insertions(+), 94 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.h -- 2.25.1