]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Limit number of capture objects
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Sep 2018 11:57:47 +0000 (12:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Sep 2018 20:21:38 +0000 (21:21 +0100)
commite33a5a8d8900bacf00f04ea61b1761a7db19d53c
tree69fed9ef95b9fb8cfffc8c72866a87ab3c1c323f
parent096588a7d531dad8d853c8a401d86edabe84de76
drm/i915: Limit number of capture objects

If we fail to allocate an array for a large number of user requested
capture objects, reduce the array size and try to grab at least some of
the objects!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180911115810.8917-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gpu_error.c