Skip to content

Commit bbe3c11

Browse files
pldrcalexdeucher
authored andcommitted
drm/amdgpu/jpeg: Add parse_cs for JPEG5_0_1
enable parse_cs callback for JPEG5_0_1. Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 5479855) Cc: stable@vger.kernel.org
1 parent 7132f7e commit bbe3c11

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,7 @@ static const struct amdgpu_ring_funcs jpeg_v5_0_1_dec_ring_vm_funcs = {
878878
.get_rptr = jpeg_v5_0_1_dec_ring_get_rptr,
879879
.get_wptr = jpeg_v5_0_1_dec_ring_get_wptr,
880880
.set_wptr = jpeg_v5_0_1_dec_ring_set_wptr,
881+
.parse_cs = amdgpu_jpeg_dec_parse_cs,
881882
.emit_frame_size =
882883
SOC15_FLUSH_GPU_TLB_NUM_WREG * 6 +
883884
SOC15_FLUSH_GPU_TLB_NUM_REG_WAIT * 8 +

0 commit comments

Comments
 (0)