diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2023-02-06 11:47:47 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-02-08 22:02:38 -0500 |
| commit | 63a9ab264a8c030482ab9e7e20b6c4c162299531 (patch) | |
| tree | e5083449b089b3232bd86e285636bbcc3d6eb53c /tools/perf/scripts/python | |
| parent | 0082e2fcd71c13208fcedd75b0599ff09cb5a940 (diff) | |
drm/amd/pm/smu7: move variables to where they are used
Move variable declarations to where they are used. Fixes
a segfault on smu7 V0 structures where some tables don't
exist.
Cc: Evan Quan <evan.quan@amd.com>
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2388
Fixes: b1a9557a7d00 ("drm/amd/pm: fulfill powerplay peak profiling mode shader/memory clock settings")
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
