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

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

Fixes: b889ef4ac988 ("drm/amdgpu/vcn: add vcn support for VCN4_0_3")
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 ff1a5a125c5a70c328806b9bc01d7d942cf3f9aa)

authored by

Yinjie Yao and committed by
Alex Deucher
4532b52b 51f69422

+1
+1
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
··· 1775 1775 .type = AMDGPU_RING_TYPE_VCN_ENC, 1776 1776 .align_mask = 0x3f, 1777 1777 .nop = VCN_ENC_CMD_NO_OP, 1778 + .no_user_fence = true, 1778 1779 .get_rptr = vcn_v4_0_3_unified_ring_get_rptr, 1779 1780 .get_wptr = vcn_v4_0_3_unified_ring_get_wptr, 1780 1781 .set_wptr = vcn_v4_0_3_unified_ring_set_wptr,