AMD General

> -----Original Message-----
> From: amd-gfx <[email protected]> On Behalf Of
> Jeevana Muthyala
> Sent: May 14, 2026 7:36 AM
> To: Deucher, Alexander <[email protected]>; amd-
> [email protected]
> Cc: Muthyala, Jeevana <[email protected]>
> Subject: [PATCH] drm/amdgpu/vcn5.0.0: enable secure submission on
> unified ring
>
> [Some people who received this message don't often get email from
> [email protected]. Learn why this is important at
> https://aka.ms/LearnAboutSenderIdentification ]
>
> From: Jeevana Muthyala <[email protected]>
>
> ---
>  drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
> b/drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
> index d5f49fa33bee..f875dbcd4f6d 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
> @@ -1207,6 +1207,7 @@ static const struct amdgpu_ring_funcs
> vcn_v5_0_0_unified_ring_vm_funcs = {
>         .type = AMDGPU_RING_TYPE_VCN_ENC,
>         .align_mask = 0x3f,
>         .nop = VCN_ENC_CMD_NO_OP,
> +       .secure_submission_supported = true,

I think it's probably better if we can set it up with the specific HW version 
instead of overall. E.g. vcn_v4_0.c:: vcn_v4_0_set_unified_ring_funcs().

Regards,
Leo

>         .no_user_fence = true,
>         .get_rptr = vcn_v5_0_0_unified_ring_get_rptr,
>         .get_wptr = vcn_v5_0_0_unified_ring_get_wptr,
> --
> 2.43.0

Reply via email to