[AMD Official Use Only - AMD Internal Distribution Only]

Reviewed-by: Leo Liu <[email protected]>

> -----Original Message-----
> From: Sundararaju, Sathishkumar <[email protected]>
> Sent: October 7, 2025 9:56 AM
> To: [email protected]
> Cc: Liu, Leo <[email protected]>; Sundararaju, Sathishkumar
> <[email protected]>
> Subject: [PATCH] drm/amdgpu/jpeg: Add parse_cs for JPEG5_0_1
>
> enable parse_cs callback for JPEG5_0_1.
>
> Signed-off-by: Sathishkumar S <[email protected]>
> ---
>  drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
> b/drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
> index baf097d2e1ac..ab0bf880d3d8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
> +++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
> @@ -878,6 +878,7 @@ static const struct amdgpu_ring_funcs
> jpeg_v5_0_1_dec_ring_vm_funcs = {
>       .get_rptr = jpeg_v5_0_1_dec_ring_get_rptr,
>       .get_wptr = jpeg_v5_0_1_dec_ring_get_wptr,
>       .set_wptr = jpeg_v5_0_1_dec_ring_set_wptr,
> +     .parse_cs = amdgpu_jpeg_dec_parse_cs,
>       .emit_frame_size =
>               SOC15_FLUSH_GPU_TLB_NUM_WREG * 6 +
>               SOC15_FLUSH_GPU_TLB_NUM_REG_WAIT * 8 +
> --
> 2.48.1

Reply via email to