]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Report resv_obj allocation failure
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 30 Jul 2019 20:58:05 +0000 (21:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Aug 2019 15:03:53 +0000 (16:03 +0100)
commit2ab60b023afd7b29d6c7c114d48d1b7518c3c2c8
tree78099f13675bdd0f80faf84eec3de74129ed0832
parent1905b9aa91aa25d13975c9872b851429f12b67cb
drm/i915: Report resv_obj allocation failure

Since commit 8fdfb52b16c1 ("drm/i915: Generalise GPU activity
tracking"), we have been prepared for i915_vma_move_to_active() to fail.
We can take advantage of this to report the failure for allocating the
shared-fence slot in the reservation_object.

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