diff options
| author | Chris Wilson <[email protected]> | 2018-06-07 16:40:45 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-06-07 21:53:10 +0100 |
| commit | 520ea7c581bf3ba4761c1fb61c53b11767665b62 (patch) | |
| tree | 2df599f689896ec94c7f813d20b688eff689cd83 /tools/perf/scripts/python/bin | |
| parent | 521370106d0d614fca76c7001bf5a82e1250fa27 (diff) | |
drm/i915: Prepare for non-object vma
In order to allow ourselves to use VMA to wrap other entities other than
GEM objects, we need to allow for the vma->obj backpointer to be NULL.
In most cases, we know we are operating on a GEM object and its vma, but
we need the core code (such as i915_vma_pin/insert/bind/unbind) to work
regardless of the innards.
The remaining eyesore here is vma->obj->cache_level and related (but
less of an issue) vma->obj->gt_ro. With a bit of care we should mirror
those on the vma itself.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions