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

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

Fixes: b6d1a0632051 ("drm/amdgpu: add VCN_5_0_0 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 49b1fbbb5a071197ee71e2d70959b1cb29bdc317)

authored by

Yinjie Yao and committed by
Alex Deucher
8cae0ce7 589a254b

+1
+1
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
··· 1207 1207 .type = AMDGPU_RING_TYPE_VCN_ENC, 1208 1208 .align_mask = 0x3f, 1209 1209 .nop = VCN_ENC_CMD_NO_OP, 1210 + .no_user_fence = true, 1210 1211 .get_rptr = vcn_v5_0_0_unified_ring_get_rptr, 1211 1212 .get_wptr = vcn_v5_0_0_unified_ring_get_wptr, 1212 1213 .set_wptr = vcn_v5_0_0_unified_ring_set_wptr,