diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-28 09:56:38 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-28 12:17:32 +0100 |
commit | ce7fda2e15afa7996ee922c8619ea514dff6f66f (patch) | |
tree | f1423f712ccdec8a7f62dd2c2b1597111b613f88 /drivers/gpu/drm/i915/i915_gem_gtt.h | |
parent | io-mapping: Specify mapping size for io_mapping_map_wc() (diff) | |
download | linux-dev-ce7fda2e15afa7996ee922c8619ea514dff6f66f.tar.xz linux-dev-ce7fda2e15afa7996ee922c8619ea514dff6f66f.zip |
drm/i915: Introduce i915_vm_to_ggtt()
In a couple of places, we have an i915_address_space that we know is
really an i915_ggtt that we want to use. Create an inline helper to
convert from the i915_address_space subclass into its container.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461833819-3991-4-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.h')
0 files changed, 0 insertions, 0 deletions