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 enc ring

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

Fixes: 8da1170a16e4 ("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 fd852c048b46f9825e904a4f3f4538fe9d8827d9)

authored by

Yinjie Yao and committed by
Alex Deucher
51f69422 f1e5a666

+1
+1
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
··· 1994 1994 .type = AMDGPU_RING_TYPE_VCN_ENC, 1995 1995 .align_mask = 0x3f, 1996 1996 .nop = VCN_ENC_CMD_NO_OP, 1997 + .no_user_fence = true, 1997 1998 .extra_bytes = sizeof(struct amdgpu_vcn_rb_metadata), 1998 1999 .get_rptr = vcn_v4_0_unified_ring_get_rptr, 1999 2000 .get_wptr = vcn_v4_0_unified_ring_get_wptr,