diff options
author | Ma Jun <[email protected]> | 2024-03-11 14:38:34 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-03-20 13:12:57 -0400 |
commit | 08ae9ef829b8055c2fdc8cfee37510c1f4721a07 (patch) | |
tree | 813f9984a9e959548cce5f7f338d7c09c397f47e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 56b30ac84c517eefcfd5384339fee5d8a675f811 (diff) |
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 <[email protected]>
Reported-by: Yin Zhenguo <[email protected]>
Suggested-by: Lazar Lijo <[email protected]>
Suggested-by: Alex Deucher <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions