]> git.hungrycats.org Git - linux/commit
drm/amdgpu/jpeg: deduplicate jpeg_v5_3_0 process_interrupt
authorTiago Dourado <tiagodourado@usp.br>
Fri, 26 Jun 2026 02:59:13 +0000 (23:59 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jul 2026 18:20:29 +0000 (14:20 -0400)
commitf4c7d8293f019bccb7211ce312559715b51c5094
tree3f460806231eb5855284b87fae709512ab7674d4
parentdc04b407200d8c7642960afcd3cb64c9c3859f29
drm/amdgpu/jpeg: deduplicate jpeg_v5_3_0 process_interrupt

The jpeg_v5_3_0_process_interrupt function is identical to
jpeg_v5_0_0_process_interrupt. Remove the duplicate implementation
in jpeg_v5_3_0 and assign the jpeg_v5_0_0 version directly to the irq_funcs struct.
Export jpeg_v5_0_0_process_interrupt through jpeg_v5_0_0.h to allow
cross-version reuse.

Signed-off-by: Tiago Dourado <tiagodourado@usp.br>
Co-developed-by: Luiz Fernandes <luiz.f.f.fernandes@usp.br>
Signed-off-by: Luiz Fernandes <luiz.f.f.fernandes@usp.br>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.h
drivers/gpu/drm/amd/amdgpu/jpeg_v5_3_0.c