diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2023-11-07 10:18:05 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2023-11-10 11:49:06 +0000 |
commit | 3b38d35157530c12c84fc02cccd469b9a0a00ae7 (patch) | |
tree | f9805157cbd86606a8a5c4ba4a45c5df0a43fd6a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dc1a2775070f0618b661500310b2ea8643592ed1 (diff) |
drm/i915: Add stable memory region names
At the moment memory region names are a bit too varied and too
inconsistent to be used for ABI purposes, like for upcoming fdinfo
memory stats.
System memory can be either system or system-ttm. Local memory has the
instance number appended, others do not. Not only incosistent but thi
kind of implementation detail is uninteresting for intended users of
fdinfo memory stats.
Add a stable name always formed as $type$instance. Could have chosen a
different stable scheme, but I think any consistent and stable scheme
should do just fine.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Aravind Iddamsetty <aravind.iddamsetty@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231107101806.608990-5-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions