[Intel-gfx] [RFC 01/10] drm/i915/vm_bind: Introduce VM_BIND ioctl

Andi Shyti andi.shyti at linux.intel.com
Thu Jul 7 01:18:15 UTC 2022


Hi,

[...]

> > +/*
> > + * VM_BIND feature version supported.
> > + *
> > + * The following versions of VM_BIND have been defined:
> > + *
> > + * 0: No VM_BIND support.
> > + *
> > + * 1: In VM_UNBIND calls, the UMD must specify the exact mappings
> > created
> > + *    previously with VM_BIND, the ioctl will not support unbinding
> > multiple
> > + *    mappings or splitting them. Similarly, VM_BIND calls will not
> > replace
> > + *    any existing mappings.
> > + *
> > + * 2: The restrictions on unbinding partial or multiple mappings is
> > + *    lifted, Similarly, binding will replace any mappings in the
> > given range.
> > + *
> > + * See struct drm_i915_gem_vm_bind and struct
> > drm_i915_gem_vm_unbind.
> > + */
> > +#define I915_PARAM_VM_BIND_VERSION     57
> 
> Perhaps clarify that new versions are always backwards compatible?

how is this 57 coherent with the description above?

Andi


More information about the Intel-gfx mailing list