aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNirmoy Das <nirmoy.das@intel.com>2022-10-14 15:14:27 +0200
committerMatthew Auld <matthew.auld@intel.com>2022-10-19 13:29:21 +0100
commit6667d78a1123d237d66e34923754ebca97d06d39 (patch)
tree86ec5abb43a5c155df8f3f8569de431bf8260287 /tools/perf/scripts/python
parentdrm/i915/pvc: Update forcewake domain for CCS register ranges (diff)
downloadlinux-6667d78a1123d237d66e34923754ebca97d06d39.tar.gz
linux-6667d78a1123d237d66e34923754ebca97d06d39.zip
drm/i915: Refactor ttm ghost obj detection
Currently i915_ttm_to_gem() returns NULL for ttm ghost object which makes it unclear when we should add a NULL check for a caller of i915_ttm_to_gem() as ttm ghost objects are expected behaviour for certain cases. Create a separate function to detect ttm ghost object and use that in places where we expect a ghost obj from ttm. Signed-off-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221014131427.21102-1-nirmoy.das@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions