aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2017-02-07 20:32:26 +0200
committerVille Syrjälä <[email protected]>2017-02-08 18:07:10 +0200
commit4717e8bb7341a00f44da3d1814ac53c5a2a1ce75 (patch)
tree1f9aa9ac5207ca313feca05e6a9ae9d754b0afec /tools/perf/scripts/python/event_analyzing_sample.py
parentc49a0d054a054cc07f9ef4982a72e55a710e87d0 (diff)
drm/i915: Clean up the .get_cdclk() assignment if ladder
Let's clean up the mess we have in the if ladder that assigns the .get_cdclk() hooks. The grouping of the platforms by the function results in a thing that's not really legible, so let's do it the other way around and order the if ladder by platform and duplicate whatever assignments we need. To further avoid confusion with the function names let's rename them to just fixed_<freq>_get_cdclk(). The other option would be to duplicate the functions entirely but it seems quite pointless to do that since each one just returns a fixed value. v2: Deal with i945gm_get_cdclk() Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Ander Conselvan de Oliveira <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions