]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/vcn: set no_user_fence for VCN v2.0 enc/dec rings
authorYinjie Yao <yinjie.yao@amd.com>
Mon, 27 Apr 2026 15:45:35 +0000 (11:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2026 19:51:17 +0000 (15:51 -0400)
commit8d80b293b41fcb5e9396db93e788b0f4ebcbafb7
treeda039225266f84a377dcf347121db7673d733b70
parent31bc64e87f5f3d9ccbb7e625d570cfd8f52c77fc
drm/amdgpu/vcn: set no_user_fence for VCN v2.0 enc/dec rings

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

Fixes: 1b61de45dfaf ("drm/amdgpu: add initial VCN2.0 support (v2)")
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 e2b5499fca55f1a32960a311bbb62e35891eaf73)
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c