commit | 724e9564c5acd40c422db2ccb57b1f66433021aa | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Fri Jun 21 08:07:42 2019 +0100 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Fri Jun 21 13:48:17 2019 +0100 |
tree | a65bba32fc75f59723eea3ee064ca5620afa37bc | |
parent | 24635c5152af5a6b79eec17d721685277f8d4cfc [diff] [blame] |
drm/i915: Store some backpointers in struct intel_gt We need an easy way to get back to i915 and uncore. 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-4-tvrtko.ursulin@linux.intel.com
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 961f76d..df11a0d 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -923,7 +923,7 @@ static int i915_driver_init_early(struct drm_i915_private *dev_priv) if (ret < 0) goto err_engines; - intel_gt_init_early(&dev_priv->gt); + intel_gt_init_early(&dev_priv->gt, dev_priv); ret = i915_gem_init_early(dev_priv); if (ret < 0)