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.5 ring

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

Fixes: 8f98a715da8e ("drm/amdgpu/jpeg: add jpeg support for VCN4_0_5")
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 f05d0a4f21fc720116d6e238f23308b199891058)

authored by

Yinjie Yao and committed by
Alex Deucher
b65b7f3f 83e37c09

+1
+1
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c
··· 804 804 static const struct amdgpu_ring_funcs jpeg_v4_0_5_dec_ring_vm_funcs = { 805 805 .type = AMDGPU_RING_TYPE_VCN_JPEG, 806 806 .align_mask = 0xf, 807 + .no_user_fence = true, 807 808 .get_rptr = jpeg_v4_0_5_dec_ring_get_rptr, 808 809 .get_wptr = jpeg_v4_0_5_dec_ring_get_wptr, 809 810 .set_wptr = jpeg_v4_0_5_dec_ring_set_wptr,