summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2025-10-22 14:12:21 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-10-28 09:48:55 -0400
commitfca0c66b22303de0d1d6313059baf4dc960a4753 (patch)
tree9bf4f89f995c24c1bbbcf99bae5c48d15b8cee73 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent13ff4f63fcddfc84ec8632f1443936b00aa26725 (diff)
drm/amd/pm: fix smu table id bound check issue in smu_cmn_update_table()
'table_index' is a variable defined by the smu driver (kmd) 'table_id' is a variable defined by the hw smu (pmfw) This code should use table_index as a bounds check. Fixes: caad2613dc4bd ("drm/amd/powerplay: move table setting common code to smu_cmn.c") Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions