drm/amdgpu/jpeg: set no_user_fence for JPEG v3.0 ring
PATCH 1/1 drm/amdgpu/jpeg: set no_user_fence for JPEG v3.0 ring
From: Yinjie Yao <[email protected]>
commit a2baf12eec41f246689e6a3f8619af1200031576 upstream.
JPEG rings do not support 64-bit user fence writes, reject CS submissions with user fences.
Fixes dfd57dbf44dd ("drm/amdgpu: add JPEG3.0 support for Sienna_Cichlid")
Reviewed-by Christian König <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Signed-off-by Yinjie Yao <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
(cherry picked from commit 4d7d774f100efb5089c86a1fb8c5bf47c63fc9ef)
Signed-off-by Sasha Levin <[email protected]>
Signed-off-by Roman Demidov <[email protected]>
---
Backport fix for CVE-2026-63846
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c +1 -0
@@ -560,6 +560,7 @@ static const struct amd_ip_funcs jpeg_v3_0_ip_funcs = {static const struct amdgpu_ring_funcs jpeg_v3_0_dec_ring_vm_funcs = { .type =AMDGPU_RING_TYPE_VCN_JPEG , .align_mask =0xf , + .no_user_fence = true, .vmhub =AMDGPU_MMHUB_0 , .get_rptr = jpeg_v3_0_dec_ring_get_rptr, .get_wptr = jpeg_v3_0_dec_ring_get_wptr,
Signature · 1 line
2.53.0