]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Export per-engine reset count info to debugfs
authorMichel Thierry <michel.thierry@intel.com>
Tue, 20 Jun 2017 09:57:49 +0000 (10:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Jun 2017 20:00:27 +0000 (21:00 +0100)
commitd53c502e3fad092dc0ed9ebffed09d562b859c80
tree3ec0a7824de87111217aec1b426c33b6594bbeae
parent7294f0bf7fa914474407fb3d92ad9fc3fd0bf586
drm/i915: Export per-engine reset count info to debugfs

A new variable is added to export the reset counts to debugfs, this
includes full gpu reset and engine reset count. This is useful for tests
where they are expected to trigger reset; these counts are checked before
and after the test to ensure the same.

v2: Include reset engine count in i915_engine_info too (Chris).

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170615201828.23144-8-michel.thierry@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620095751.13127-8-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c