While I was looking into the ring buffer interface, I noticed some minor issues in the VCN 4.0.3 and 5.0.1. This series has some code improvements in those two components.
Changes since V1: After Alex's feedback, this second version changed a lot, but I decided to send this as a V2 to make it easy to follow the series evolution. Follows the change summary: - Patch 1: Rewrite the patch to describe VCN 4.0.3-specific behavior. - Patch 2: Change amdgpu_vcn_sw_fini() return to void, and add the required modification. Link to V1: https://patchwork.freedesktop.org/series/153016/ Thanks Rodrigo Siqueira (2): drm/amdgpu/vcn: Document IRQ per-instance irq behavior for VCN 4.0.3 drm/amdgpu/vcn: Change amdgpu_vcn_sw_fini return to void drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 6 ++---- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 4 +--- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 4 +--- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 7 ++----- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 13 +++++++------ drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 4 +--- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 7 ++----- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c | 9 +++------ 11 files changed, 24 insertions(+), 40 deletions(-) -- 2.47.2