summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2022-02-28 15:36:06 +0300
committerMatthew Auld <matthew.auld@intel.com>2022-03-01 11:50:47 +0300
commit6e0c5bf0cc1369df0057bccb3fc1af3b38d07e32 (patch)
treeb1a25e736593a75d245621715fec018170b4bcf7 /tools/perf/scripts/python/export-to-sqlite.py
parent503725c2d9865533b2894f7363be16c762260b7e (diff)
downloadlinux-6e0c5bf0cc1369df0057bccb3fc1af3b38d07e32.tar.xz
drm/i915/selftests: handle allocation failures
If we have to contend with non-mappable LMEM, then we need to ensure the object fits within the mappable portion, like in the selftests, where we later try to CPU access the pages. However if it can't then we need to gracefully handle this, without throwing an error. Also it looks like TTM will return -ENOMEM, in ttm_bo_mem_space() after exhausting all possible placements. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Acked-by: Nirmoy Das <nirmoy.das@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220228123607.580432-3-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions