Re: [Intel-gfx] [PATCH v2] drm/i915: Add Guc/HuC firmware details to error state

2017-10-19 Thread Chris Wilson
Quoting Michal Wajdeczko (2017-10-19 20:02:57) > +static void i915_capture_uc_state(struct drm_i915_private *dev_priv, > + struct i915_gpu_state *error) > +{ > + error->guc_fw = dev_priv->guc.fw; > + error->huc_fw = dev_priv->huc.fw; > + > + /* Make

[Intel-gfx] [PATCH v2] drm/i915: Add Guc/HuC firmware details to error state

2017-10-19 Thread Michal Wajdeczko
Include GuC and HuC firmware details in captured error state to provide additional debug information. To reuse existing uc firmware pretty printer, introduce new drm-printer variant that works with our i915_error_state_buf output. Also update uc firmware pretty printer to accept const input. v2: d