aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2019-01-23 16:06:02 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2019-01-24 19:34:34 -0800
commit1878fce8de256dd0d263c670ae86b96b82cac735 (patch)
treee4f72d675f5c51c6613606730025347ae5c5cc7b /tools/perf/scripts/python/stackcollapse.py
parentdrm/i915: use a macro to define MOCS entries (diff)
downloadlinux-1878fce8de256dd0d263c670ae86b96b82cac735.tar.gz
linux-1878fce8de256dd0d263c670ae86b96b82cac735.zip
drm/i915: keep track of used entries in MOCS table
Instead of considering we have defined entries for any index in the table, let's keep track of the ones we explicitly defined. This will allow Gen 11 to have it's new table defined in which we have holes of undefined entries. Repeated comments about the meaning of undefined entries were removed since they are overly verbose and copy-pasted in several functions: now the definition is in the top only. v2: add helper function to get the index (from Chris) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190124000604.18861-6-lucas.demarchi@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions