drm/i915: Move uncore selfchecks to live selftest infrastructure
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:33 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:45:47 +0000 (20:45 +0000)
commit26e7a2a17971400fee4fcacc0132439c043fd0e6
treee12d43aa6552234f1ed337b03504d41e4de6e2a2
parent170594502cf591fd0789d7e5239937b1a87af4c6
drm/i915: Move uncore selfchecks to live selftest infrastructure

Now that the kselftest infrastructure exists, put it to use and add to
it the existing consistency checks on the fw register lookup tables.

v2: s/tabke/table/

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-22-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_uncore.c
drivers/gpu/drm/i915/selftests/i915_live_selftests.h
drivers/gpu/drm/i915/selftests/intel_uncore.c [new file with mode: 0644]