drm/i915: Move i915_gpu_error into its own header
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 8 Mar 2018 09:50:37 +0000 (09:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Mar 2018 22:21:41 +0000 (22:21 +0000)
commitd897a111940fe2d644172466914d7c97791bda05
tree155653def12ec6d4c4b66aacdcc5434453c89977
parent058a9b43a37a2406a574752707c5346e7b6444f4
drm/i915: Move i915_gpu_error into its own header

Error state management code was moved into separate .c unit
but we didn't move related definitions into own header.

v2: move also intel_display_error_state forward decl
    fix ("Prefer 'unsigned int' to bare use of 'unsigned'")
    warnings detected by checkpatch in moved code (Michal)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180308095037.18264-5-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_gpu_error.h [new file with mode: 0644]