]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/vcn: set no_user_fence for VCN v4.0 enc ring
authorYinjie Yao <yinjie.yao@amd.com>
Mon, 27 Apr 2026 15:45:36 +0000 (11:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2026 19:51:17 +0000 (15:51 -0400)
commit51f694221047c84fa185be98210eb2c354ffb8c6
tree3b6d2ff296f5ded75a6edddf79ff993ff90574d5
parentf1e5a6660d7cbf006079126d9babbf0ccf538c6b
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)
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c