diff options
author | 2018-11-13 15:24:20 -0500 | |
---|---|---|
committer | 2019-01-14 15:04:40 -0500 | |
commit | 8d25a560b877563d7a8c93a07140767d8959a7cd (patch) | |
tree | bf6248c9cd3c399e85384e21b471817b31a115e3 /drivers/gpu/drm/amd/amdgpu/tonga_ih.c | |
parent | drm/amd/display: Improve logging of validation failures during atomic_check (diff) | |
download | wireguard-linux-8d25a560b877563d7a8c93a07140767d8959a7cd.tar.xz wireguard-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/tonga_ih.c')
0 files changed, 0 insertions, 0 deletions