drm/i915: Include the kernel uptime in the error state
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Oct 2016 12:16:02 +0000 (13:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Oct 2016 12:22:43 +0000 (13:22 +0100)
commitde867c20b94b6d52a0b10cb02f10a1f475abf7f5
tree9de92c4c9427b4e13d24be78a31eed52ea3a639e
parent7ef54de7fdf13953c1721e4b6b43e7b8d76d5521
drm/i915: Include the kernel uptime in the error state

As well as knowing when the error occurred, it is more interesting to me
to know how long after booting the error occurred, and for good measure
record the time since last hw initialisation.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161025121602.1457-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gpu_error.c