aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2017-11-15 10:42:57 -0800
committerRodrigo Vivi <rodrigo.vivi@intel.com>2017-11-16 09:45:39 -0800
commit8a00678a096445716861d2c0bd2a7007ad373f4d (patch)
tree0be8018d6ba0ff743498673753222399c1926dd3 /tools/perf/scripts/python/call-graph-from-sql.py
parentdrm/i915/cnl: Don't blindly replace qdiv. (diff)
downloadlinux-dev-8a00678a096445716861d2c0bd2a7007ad373f4d.tar.xz
linux-dev-8a00678a096445716861d2c0bd2a7007ad373f4d.zip
drm/i915/cnl: Simplify dco_fraction calculation.
I confess I never fully understood that previous calculation, so this is not a "fix". But let's simplify this math so poor brains like mine can read and make some sense of it in the future. v2: Don't follow the spec since that gives invalid values and it is also confusing. This Ville's version is much simpler. v3: Use u64 cast instead of declaring a u64 dco. (Ville). Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Mika Kahola <mika.kahola@intel.com> Cc: Manasi Navare <manasi.d.navare@intel.com> Cc: James Ausmus <james.ausmus@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171115184257.8633-1-rodrigo.vivi@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions