]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/jpeg: set no_user_fence for JPEG v4.0.3 ring
authorYinjie Yao <yinjie.yao@amd.com>
Mon, 27 Apr 2026 15:46:11 +0000 (11:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2026 19:51:18 +0000 (15:51 -0400)
commit83e37c0987ca92f9e87789b46dd311dcf5a4a6c8
treecf1d28dcbb0c553437512941ec54dc99d3cf208d
parente7e90b5839aeb8805ec83bb4da610b8dab8e184d
drm/amdgpu/jpeg: set no_user_fence for JPEG v4.0.3 ring

JPEG rings do not support 64-bit user fence writes, reject CS
submissions with user fences.

Fixes: e684e654eba9 ("drm/amdgpu/jpeg: add jpeg 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 2f6afc97d259d530f4f86c7743efbc573a8da927)
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c