]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests/perf: watch out for stolen objects
authorMatthew Auld <matthew.auld@intel.com>
Mon, 23 Mar 2020 11:03:01 +0000 (11:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Mar 2020 11:52:34 +0000 (11:52 +0000)
commit57bc9cecca85cb37abdb47983644d54c7c5018ae
tree3a3a0d0ffe893b58435d5c0e08ccb9d6c2987f6d
parent700e7cb6260e2790d8b8b3e48c28e5ae09fd3af3
drm/i915/selftests/perf: watch out for stolen objects

Stolen memory is allocated at creation, returning -ENOSPC if we run out
space.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/1424
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200323110301.38806-1-matthew.auld@intel.com
drivers/gpu/drm/i915/selftests/intel_memory_region.c