drm/i915/error: Capture WA ctx batch in error state
authorarun.siluvery@linux.intel.com <arun.siluvery@linux.intel.com>
Tue, 1 Mar 2016 11:24:36 +0000 (11:24 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 1 Mar 2016 15:09:13 +0000 (15:09 +0000)
commitf85db0590dd8601a1fc513a40dd002c3bdf56b84
treee076ae628dd92d9c4f634546dbea2e00a2f0590f
parentdebded848dee028d7f1f1e42a4e118df9636fb84
drm/i915/error: Capture WA ctx batch in error state

execute during context save/restore, good to have them in error state.

v2: use wa_ctx->size and print only size values (Mika)
v3: simplify conditions when recording and freeing object (Chris)
v4: resolve checkpatch errors (Tvrtko)

Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456831476-10782-1-git-send-email-arun.siluvery@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c