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 v5.0.1 enc ring

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

Fixes: 346492f30ce3 ("drm/amdgpu: Add VCN_5_0_1 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 e16be95a2c3ee712b142cb27d2dca0b461181359)

authored by

Yinjie Yao and committed by
Alex Deucher
8f495472 8cae0ce7

+1
+1
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
··· 1419 1419 .type = AMDGPU_RING_TYPE_VCN_ENC, 1420 1420 .align_mask = 0x3f, 1421 1421 .nop = VCN_ENC_CMD_NO_OP, 1422 + .no_user_fence = true, 1422 1423 .get_rptr = vcn_v5_0_1_unified_ring_get_rptr, 1423 1424 .get_wptr = vcn_v5_0_1_unified_ring_get_wptr, 1424 1425 .set_wptr = vcn_v5_0_1_unified_ring_set_wptr,