]> 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)
commit49494ccbb46541fc36c78b5c73fc3eea97e22b3a
tree6f1a4c726087f3eb4d69421354af539ca1c8034b
parent3b980a6afd7a03a70b634a9e8408585eec33def4
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