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)
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>

No differences found