summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2022-10-03 18:28:19 +0100
committerMatthew Auld <matthew.auld@intel.com>2022-10-04 14:30:48 +0100
commit26b15eb0940c9a52aa997f6e6f00e3a6e628f107 (patch)
treed06f3d30afe861573a76e5a9c179e410c97cc401 /tools/perf/scripts/python/export-to-sqlite.py
parentc24538f538ef2f70c10f4326c1c0efd6ec6561c9 (diff)
drm/i915/ttm: implement access_memory
It looks like we need this for local-memory, if we want to use ptrace. Something more is still needed if we want to handle non-mappable memory, which looks quite annoying. v2: - ttm_bo_kmap doesn't seem to work well here, and seems to expect contiguous resource. v3(Andi): - s/PAGE_SIZE/bytes/ when passing in the size of the mapping. References: https://gitlab.freedesktop.org/drm/intel/-/issues/6989 Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Andrzej Hajda <andrzej.hajda@intel.com> Cc: Nirmoy Das <nirmoy.das@intel.com> Cc: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221003172819.99245-1-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions