aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-11-27 19:53:34 +0000
committerChris Wilson <[email protected]>2020-11-30 18:18:48 +0000
commitcb2ce93e5b050fb9182eb6b6ff64428333436f73 (patch)
tree7256317a85be44b03228cf248b2310f6a1c23a9e /tools/perf/scripts/python/mem-phys-addr.py
parentd2cf0125d4a133a857d3327f7ac1625c84624219 (diff)
drm/i915/gem: Differentiate oom failures from invalid map types
After a cursory check on the parameters to i915_gem_object_pin_map(), where we return a precise error, if the backend rejects the mapping we always return PTR_ERR(-ENOMEM). Let us also return a more precise error here so we can differentiate between running out of memory and programming errors (or situations where we may be trying different paths and looking for an error from an unsupported map). Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions