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 /tools/perf/scripts/python/bin | |
| parent | d8dab00de9b767eaa11496a0eedf4798fc225803 (diff) | |
| download | linux-ce7fda2e15afa7996ee922c8619ea514dff6f66f.tar.gz linux-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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
