drm/i915: Make read_subslice_reg take engine
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 10 Jun 2019 12:57:06 +0000 (13:57 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 10 Jun 2019 15:55:38 +0000 (16:55 +0100)
commitf398bbde9e97769630c101ddc032a9b253d97df0
treeb93cdc4792d9148d98eda590ee9c5df96e064bb3
parent6caed5c938f6f316b837e55fd78bb9041362327e
drm/i915: Make read_subslice_reg take engine

The function operates on the render engine so make the input reflect it.

v2:
 * Pass engine to read_subslice_reg. (Chris)
 * Drop inline from read_subslice_reg.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190610125706.26110-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c