aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRodrigo Vivi <[email protected]>2017-11-15 10:42:57 -0800
committerRodrigo Vivi <[email protected]>2017-11-16 09:45:39 -0800
commit8a00678a096445716861d2c0bd2a7007ad373f4d (patch)
tree0be8018d6ba0ff743498673753222399c1926dd3 /tools/perf/scripts/python/stackcollapse.py
parentcacf6fe7c6c4ac9e748f41d0de4293b2aea5ae07 (diff)
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ä <[email protected]> Cc: Mika Kahola <[email protected]> Cc: Manasi Navare <[email protected]> Cc: James Ausmus <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions