drm/i915/gt: Expose more parameters for emitting writes into the ring
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 2 Nov 2020 22:10:56 +0000 (22:10 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 3 Nov 2020 14:16:43 +0000 (14:16 +0000)
commit2739d8cfc50aafff49d599cc0a5bc855445e99a7
treeb5b548eeb581fedf4300fface11b75ddd039bd7e
parent0f41e31a7bdca9a1c51ae21ccfc569ccb9359e03
drm/i915/gt: Expose more parameters for emitting writes into the ring

Add another lower level to emit_ggtt_write so that the GGTT nature of
the write is not hardcoded into the emitter.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201102221057.29626-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine.h