aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorLeo Li <sunpeng.li@amd.com>2018-11-13 15:24:20 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-01-14 15:04:40 -0500
commit8d25a560b877563d7a8c93a07140767d8959a7cd (patch)
treebf6248c9cd3c399e85384e21b471817b31a115e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent38684e46ef6622f25f141727fd9a9733b43eaf55 (diff)
downloadlinux-8d25a560b877563d7a8c93a07140767d8959a7cd.tar.gz
linux-8d25a560b877563d7a8c93a07140767d8959a7cd.tar.bz2
linux-8d25a560b877563d7a8c93a07140767d8959a7cd.zip
drm/amd/display: Use local variable instead of caching global
[Why] context->bw.dce.dispclk_khz is being cached into unpatched_clock, then restored at end of function call. This is needlessly complex [How] Instead, use a local patched_clock variable. Leave context->bw.dce.dispclk_khz alone. No functional change is intended. Signed-off-by: David Francis <david.francis@amd.com> Signed-off-by: Leo Li <sunpeng.li@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions