drm/i915: Make GuC log part of the uC error state
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 26 Oct 2017 17:36:56 +0000 (17:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Nov 2017 14:22:09 +0000 (14:22 +0000)
commit0397ac13dd47bb0c99b10a11b756aafb72018fca
tree99d44c6acd5308cdd89a19e06a8f2472292e1ce8
parent7d41ef3479a6bc3ba2ddcf49e365916611e4fa39
drm/i915: Make GuC log part of the uC error state

We keep details of GuC and HuC in separate error state struct.
Make GuC log part of it to group all related data together.
Since we are printing uC details at the end, with this change
GuC log will be moved there too.

v2: comment on new placement of the log (Chris)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171026173657.49648-2-michal.wajdeczko@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c