]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make Gen6/7 RING_FAULT_REG access engine centric
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 7 Jun 2019 10:15:35 +0000 (11:15 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 7 Jun 2019 11:47:39 +0000 (12:47 +0100)
commit56e0b92836b172f46d5963dc018ff4860b4ced02
treed94ab605c2cbae4a757e29a03c743f2a4e9c2356
parent07c841610f5ae588b3318cc71281f8ce8b61b81c
drm/i915: Make Gen6/7 RING_FAULT_REG access engine centric

Similar to earlier conversions, eliminate the implicit dev_priv by
introducing some helpers which take the engine parameter (since the
register itself is per engine).

v2:
 * Always use parentheses in macro arguments.

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