1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-19 07:43:34 +02:00

drm/amdgpu/vcn: set no_user_fence for VCN v2.5 enc/dec rings

From Yinjie Yao
602d4c5872b25ddd4d82fb2025efb9a05b187bb3 in linux-6.18.y/6.18.33
4f317863a3ab212a027d8c8c3cc3af4e3fb95704 in mainline linux
This commit is contained in:
jsg
2026-05-25 09:09:21 +00:00
parent ee3b1e4c30
commit 9be4713594
+2
View File
@@ -1784,6 +1784,7 @@ static void vcn_v2_5_dec_ring_set_wptr(struct amdgpu_ring *ring)
static const struct amdgpu_ring_funcs vcn_v2_5_dec_ring_vm_funcs = {
.type = AMDGPU_RING_TYPE_VCN_DEC,
.align_mask = 0xf,
.no_user_fence = true,
.secure_submission_supported = true,
.get_rptr = vcn_v2_5_dec_ring_get_rptr,
.get_wptr = vcn_v2_5_dec_ring_get_wptr,
@@ -1885,6 +1886,7 @@ static const struct amdgpu_ring_funcs vcn_v2_5_enc_ring_vm_funcs = {
.type = AMDGPU_RING_TYPE_VCN_ENC,
.align_mask = 0x3f,
.nop = VCN_ENC_CMD_NO_OP,
.no_user_fence = true,
.get_rptr = vcn_v2_5_enc_ring_get_rptr,
.get_wptr = vcn_v2_5_enc_ring_get_wptr,
.set_wptr = vcn_v2_5_enc_ring_set_wptr,