diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-07 18:40:46 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-07 23:53:11 +0300 |
commit | 93f2cde2a4f7947f6330ecfb9b27d13e2f4d43af (patch) | |
tree | d3ba0b2c9afc7baa17ccbdaca8d5e9a6b6acb5a0 /drivers/gpu/drm/i915/intel_sdvo_regs.h | |
parent | 520ea7c581bf3ba4761c1fb61c53b11767665b62 (diff) | |
download | linux-93f2cde2a4f7947f6330ecfb9b27d13e2f4d43af.tar.xz |
drm/i915: Decouple vma vfuncs from vm
To allow for future non-object backed vma, we need to be able to
specialise the callbacks for binding, et al, the vma. For example,
instead of calling vma->vm->bind_vma(), we now call
vma->ops->bind_vma(). This gives us the opportunity to later override the
operation for a custom vma.
v2: flip order of unbind/bind
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180607154047.9171-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo_regs.h')
0 files changed, 0 insertions, 0 deletions