aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMa Jun <Jun.Ma2@amd.com>2024-03-11 14:38:34 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-03-20 13:12:57 -0400
commit08ae9ef829b8055c2fdc8cfee37510c1f4721a07 (patch)
tree813f9984a9e959548cce5f7f338d7c09c397f47e /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amdgpu: Skip access PF-only registers on gfx10/gfxhub2_1 under SRIOV (diff)
downloadwireguard-linux-08ae9ef829b8055c2fdc8cfee37510c1f4721a07.tar.xz
wireguard-linux-08ae9ef829b8055c2fdc8cfee37510c1f4721a07.zip
drm/amdgpu/pm: Fix NULL pointer dereference when get power limit
Because powerplay_table initialization is skipped under sriov case, We check and set default lower and upper OD value if powerplay_table is NULL. Fixes: 7968e9748fbb ("drm/amdgpu/pm: Fix the power1_min_cap value") Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Reported-by: Yin Zhenguo <zhenguo.yin@amd.com> Suggested-by: Lazar Lijo <lijo.lazar@amd.com> Suggested-by: Alex Deucher <Alexander.Deucher@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions