summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2023-04-04 20:54:31 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2023-04-13 21:02:49 +0300
commite13b3f65af719e79046df2b1da6599eb387752e0 (patch)
tree67a4f80e4a86e0404f29c62f4a22bc25570d9ebd /tools/perf/scripts/python/flamegraph.py
parent435db526a68b6454a882eae7a3768c516d4b540e (diff)
downloadlinux-e13b3f65af719e79046df2b1da6599eb387752e0.tar.gz
linux-e13b3f65af719e79046df2b1da6599eb387752e0.zip
drm/i915: Use min() instead of hand rolling it
Most places in the vblank code use min() to clamp scanline counters below vtotal. But we missed one in the gen3/4 pixel counter based codepath. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230404175431.23064-3-ville.syrjala@linux.intel.com Reviewed-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions