drm/i915: Move i915_check_and_clear_faults to intel_reset.c
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 7 Jun 2019 11:59:32 +0000 (12:59 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 10 Jun 2019 08:09:26 +0000 (09:09 +0100)
commit6a8cc66ffe0fc87b0df10405ceb107f64795c28b
tree25083207a3d20acc8c1f304a5e1464f1f7d61b10
parentcf20b411bb02dc2a55b38d75c5f493ffecd85c66
drm/i915: Move i915_check_and_clear_faults to intel_reset.c

The code is logically about reset so it makes sense.

It also enables making i915_clear_error_registers static.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607115932.20271-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_reset.c
drivers/gpu/drm/i915/gt/intel_reset.h
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h