Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/vcn: set no_user_fence for VCN v4.0.5 enc ring

VCN encoder and decoder rings do not support 64-bit user fence writes,
reject CS submissions with user fences.

Fixes: 547aad32edac ("drm/amdgpu: add VCN4 ip block support")
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Yinjie Yao <yinjie.yao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 084d94ac93707bdda07efb5cee786f632de4219b)

authored by

Yinjie Yao and committed by
Alex Deucher
589a254b 4532b52b

+1
+1
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
··· 1483 1483 .type = AMDGPU_RING_TYPE_VCN_ENC, 1484 1484 .align_mask = 0x3f, 1485 1485 .nop = VCN_ENC_CMD_NO_OP, 1486 + .no_user_fence = true, 1486 1487 .get_rptr = vcn_v4_0_5_unified_ring_get_rptr, 1487 1488 .get_wptr = vcn_v4_0_5_unified_ring_get_wptr, 1488 1489 .set_wptr = vcn_v4_0_5_unified_ring_set_wptr,