summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2023-02-06 11:47:47 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-02-08 22:02:38 -0500
commit63a9ab264a8c030482ab9e7e20b6c4c162299531 (patch)
treee5083449b089b3232bd86e285636bbcc3d6eb53c /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
parent0082e2fcd71c13208fcedd75b0599ff09cb5a940 (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 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c')
0 files changed, 0 insertions, 0 deletions