aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLeo Li <[email protected]>2018-11-13 15:24:20 -0500
committerAlex Deucher <[email protected]>2019-01-14 15:04:40 -0500
commit8d25a560b877563d7a8c93a07140767d8959a7cd (patch)
treebf6248c9cd3c399e85384e21b471817b31a115e3 /tools/perf/scripts/python/stackcollapse.py
parent38684e46ef6622f25f141727fd9a9733b43eaf55 (diff)
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 <[email protected]> Signed-off-by: Leo Li <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions