aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2023-08-04 12:48:04 +0300
committerDmitry Baryshkov <[email protected]>2023-08-04 18:10:55 +0300
commit34202be9523718838c620fdadf2e985890286883 (patch)
treeef69ad8958fbe9e92701ea6292217630c005ee2d /tools/perf/scripts/python/exported-sql-viewer.py
parentb0fe70105056ca7f167000e35d9e0ea3d490fded (diff)
drm/msm/dpu: initialise clk_rate to 0 in _dpu_core_perf_get_core_clk_rate
When removing the core perf tune overrides, I also occasionaly removed the initialisation of the clk_rate variable. Initialise it to 0 to let max() correctly calculate the maximum of requested clock rates. Reported-by: Dan Carpenter <[email protected]> Fixes: 6a4bc73915af ("drm/msm/dpu: drop separate dpu_core_perf_tune overrides") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/551321/ Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions