]> 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)
commit1d8699684d6fd7f01f154d64ce428c5d7f0ebf55
tree69fed9ef95b9fb8cfffc8c72866a87ab3c1c323f
parent4dbdbc1c6b7699a2b2faf020b32fcafcbdf0b103
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