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/jpeg: set no_user_fence for JPEG v4.0 ring

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

Fixes: b13111de32a9 ("drm/amdgpu/jpeg: add jpeg support for VCN4_0_0")
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 8d0cac9478a3f046279c657d6a2545de49ae675a)

authored by

Yinjie Yao and committed by
Alex Deucher
e7e90b58 a2baf12e

+1
+1
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c
··· 759 759 static const struct amdgpu_ring_funcs jpeg_v4_0_dec_ring_vm_funcs = { 760 760 .type = AMDGPU_RING_TYPE_VCN_JPEG, 761 761 .align_mask = 0xf, 762 + .no_user_fence = true, 762 763 .get_rptr = jpeg_v4_0_dec_ring_get_rptr, 763 764 .get_wptr = jpeg_v4_0_dec_ring_get_wptr, 764 765 .set_wptr = jpeg_v4_0_dec_ring_set_wptr,