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

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

Fixes: 8433398c789c ("drm/amdgpu: Add VCN v5_0_2")
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 48fc78c31ea7fec63100a772f863cf51b2f8cd0a)

authored by

Yinjie Yao and committed by
Alex Deucher
ed9d2832 8f495472

+1
+1
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_2.c
··· 994 994 .type = AMDGPU_RING_TYPE_VCN_ENC, 995 995 .align_mask = 0x3f, 996 996 .nop = VCN_ENC_CMD_NO_OP, 997 + .no_user_fence = true, 997 998 .get_rptr = vcn_v5_0_2_unified_ring_get_rptr, 998 999 .get_wptr = vcn_v5_0_2_unified_ring_get_wptr, 999 1000 .set_wptr = vcn_v5_0_2_unified_ring_set_wptr,