]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: fix array out of bounds accesses for mes sw_fini
authorLe Ma <le.ma@amd.com>
Mon, 2 Mar 2026 07:43:20 +0000 (15:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Mar 2026 17:58:08 +0000 (13:58 -0400)
commit418b4e397570f1b0ffb6d5c8aa0872bc33071d49
tree58ff0553fe261e3ff3ab455c8ac89d86b52b5b95
parentcbbf33396c5b4b54e28e9865a28090eca7a13173
drm/amdgpu: fix array out of bounds accesses for mes sw_fini

The mes.fw[] is per-pipe resource shared accross xcc inst.
And enlarge hung_queue array to max inst_pipes.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c