Skip to contentSkip to conversation

drm/amdgpu/vcn5.0.0: enable secure submission on unified ring

PATCH In review Jeevana Muthyala 2 participants 2 messages May 14 – May 15

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/vcn5.0.0: enable secure submission on unified ring

From: Jeevana Muthyala <[email protected]>

---
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c +1 -0
index d5f49fa33bee..f875dbcd4f6d 100644
@@ -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,
 	.no_user_fence = true,
 	.get_rptr = vcn_v5_0_0_unified_ring_get_rptr,
 	.get_wptr = vcn_v5_0_0_unified_ring_get_wptr,
Signature · 1 line
2.43.0
#1 lore raw

AMD General

Quoted 26 lines

-----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(+)
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c +0 -0
index d5f49fa33bee..f875dbcd4f6d 100644

drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c static const struct amdgpu_ring_funcs · line 1211

Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c +1 -0
@@ -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

Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c +0 -0
        .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