]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Compress GPU objects in error state
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Oct 2016 09:05:22 +0000 (10:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Oct 2016 11:00:33 +0000 (12:00 +0100)
commit1acb6deb07ee7d3714b2ee0223a15282ead0c5d4
tree6f1a4c726087f3eb4d69421354af539ca1c8034b
parent4f0ce5e058f149f08d2520d9af4962f6981deb4a
drm/i915: Compress GPU objects in error state

Our error states are quickly growing, pinning kernel memory with them.
The majority of the space is taken up by the error objects. These
compress well using zlib and without decode are mostly meaningless, so
encoding them does not hinder quickly parsing the error state for
familiarity.

v2: Make the zlib dependency optional

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161012090522.367-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Kconfig
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c