drm/i915: Add dmc firmware load state and version to error state
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 29 Oct 2015 13:21:19 +0000 (15:21 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Nov 2015 17:16:34 +0000 (19:16 +0200)
commit0ac7655cf7f5722fe3a24fda5f435a00baa7d513
tree2733638cb0a7f37f0a9994b1e08e339cae644317
parent6fb403de3620deacf1180d727d21875d07c7464a
drm/i915: Add dmc firmware load state and version to error state

We have had one case where buggy csr/dmc firmware version influenced
gt side and caused a hang. Add dmc firmware loading state and
version to error state.

v2: - Rebased on top of Damien's patches
    - included fw load state
v3: include dmc info only if platform supports it (Chris)
v4: move *csr to branch scope (Chris)
v5: remove dependency to csr_state

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v4)
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446124879-22240-1-git-send-email-mika.kuoppala@intel.com
Tested-by: Daniel Stone <daniels@collabora.com> # SKL
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_gpu_error.c