Skip to content

Commit 3e1c43f

Browse files
pldrcgregkh
authored andcommitted
drm/amdgpu/jpeg: Add parse_cs for JPEG5_0_1
[ Upstream commit bbe3c115030da431c9ec843c18d5583e59482dd2 ] enable parse_cs callback for JPEG5_0_1. Signed-off-by: Sathishkumar S <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 547985579932c1de13f57f8bcf62cd9361b9d3d3) Cc: [email protected] Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 641b584 commit 3e1c43f

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)