diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-03-03 19:33:12 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-03-09 22:11:36 +0200 |
commit | 62153bdd66f281fcd2318401684a7267d8ecddd9 (patch) | |
tree | 8f510e2d989ad7e49951671f482643062ffd0fb1 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0ff3b23f0c9b85df195a97277963b9a834389b50 (diff) |
drm/i915: Fix readout of PIPEGCMAX
PIPEGCMAX is a 11.6 (or 1.16 if you will) value. Ie. it can
represent a value of 1.0 when the maximum we can store in the
software LUT is 0.ffff. Clamp the value so that it gets
saturated to the max the uapi supports.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200303173313.28117-9-ville.syrjala@linux.intel.com
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions