aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2015-11-17 18:14:26 +0200
committerJani Nikula <[email protected]>2015-11-18 11:22:07 +0200
commit0f94592efd36213c961145fe1ab0c3bc323ec053 (patch)
treec75b48bf7ab42ac42f73d976a76cf0a417d70d04 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent76dc3769d7c3cdcfa7c4c7768a7cb87cd91af12f (diff)
drm/i915: Fix gpu frequency change tracing
With gen < 9 we have had always 50Mhz units as our hw ratio. With gen >= 9 the hw ratio changed to 16.667Mhz (50/3). The result was that our gpu frequency tracing started to output values 3 times larger than expected due to hardcoded scaling value. Fix this by using Use intel_gpu_freq() when generating Mhz value from ratio for 'intel_gpu_freq_change' trace event. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92591 Cc: [email protected] # v4.3+ Reported-by: Eero Tamminen <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions