]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915: Store backpointer to intel_gt in the engine
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 07:07:49 +0000 (08:07 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 12:48:26 +0000 (13:48 +0100)
commitf937f5613b6f108b2f93470f357c0880c1b57ffb
tree1d5f7a541a0ffeb9a9c9c4e74a5a408c7159c36a
parentd10cfee4d81ba3483a09ea70ddd78889bbca0384
drm/i915: Store backpointer to intel_gt in the engine

It will come useful in the next patch.

v2:
 * Do mock_engine as well.

v3:
 * And the virtual engine...

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/20190621070811.7006-11-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_engine_types.h
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/mock_engine.c