drm/i915: export error state to string conversion
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 6 Jun 2013 12:18:39 +0000 (15:18 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 17:38:19 +0000 (19:38 +0200)
commitfc16b48be665d94337a861486dd25499971742a2
tree4fa86504571c4ddc1c96d3fa045147328ee0d145
parent319d9827ebb55d58d1b02d8a4eba48bbb2702376
drm/i915: export error state to string conversion

In preparation for accessing error state from sysfs, export
error state to string conversion function. Also tuck buffer
error handling inside the function.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h