diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-06-21 09:07:59 +0200 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-06-21 14:48:36 +0200 |
commit | 763c1e63125ef18561b36aafcf983230aeda4212 (patch) | |
tree | 9e7677a09279afee33ea6ed91e9162bede28fd8f /drivers/gpu/drm/i915/i915_gem_gtt.h | |
parent | drm/i915: Make ggtt invalidation work on ggtt (diff) | |
download | linux-763c1e63125ef18561b36aafcf983230aeda4212.tar.xz linux-763c1e63125ef18561b36aafcf983230aeda4212.zip |
drm/i915: Store intel_gt backpointer in vm
This will come useful in the following patch.
v2:
* Handle mock ggtt.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190621070811.7006-21-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_gtt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h b/drivers/gpu/drm/i915/i915_gem_gtt.h index ca8ba458a310..6d1aad555ffa 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.h +++ b/drivers/gpu/drm/i915/i915_gem_gtt.h @@ -288,6 +288,7 @@ struct i915_address_space { struct rcu_work rcu; struct drm_mm mm; + struct intel_gt *gt; struct drm_i915_private *i915; struct device *dma; /* Every address space belongs to a struct file - except for the global |