bianbu-linux-6.6/drivers/gpu/drm/amd/pm
Lin.Cao 09f617219f drm/amd: check num of link levels when update pcie param
[ Upstream commit 406e8845356d18bdf3d3a23b347faf67706472ec ]

In SR-IOV environment, the value of pcie_table->num_of_link_levels will
be 0, and num_of_levels - 1 will cause array index out of bounds

Signed-off-by: Lin.Cao <lincao12@amd.com>
Acked-by: Jingwen Chen <Jingwen.Chen2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 17:19:41 +00:00
..
inc drm/amdgpu: open brace '{' following struct go on the same line 2023-07-25 13:44:00 -04:00
legacy-dpm drm/amd/pm: Clean up errors in sislands_smc.h 2023-08-09 09:42:44 -04:00
powerplay drm/amd: Disable PP_PCIE_DPM_MASK when dynamic speed switching not supported 2023-11-28 17:19:41 +00:00
swsmu drm/amd: check num of link levels when update pcie param 2023-11-28 17:19:41 +00:00
amdgpu_dpm.c drm/amd/pm: avoid potential UBSAN issue on legacy asics 2023-06-09 09:36:34 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_pm.c drm/amd/pm: add unique_id for gc 11.0.3 2023-10-04 22:36:06 -04:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00