The JPEG versions v3_0 and v5_3_0 have process_interrupt implementations identical to their predecessor versions (v2_0, v5_0_0 respectively). This patchset removes these duplicates by exporting the original functions and reusing them via macro aliases.
Tiago Dourado (2): drm/amdgpu/jpeg: deduplicate jpeg_v3_0 process_interrupt drm/amdgpu/jpeg: deduplicate jpeg_v5_3_0 process_interrupt drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.h | 4 ++++ drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 21 ++------------------- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.h | 4 ++++ drivers/gpu/drm/amd/amdgpu/jpeg_v5_3_0.c | 22 +++------------------- 6 files changed, 15 insertions(+), 40 deletions(-) -- 2.43.0
