On 30/08/2022 19:19, Matthew Auld wrote:
On 27/08/2022 20:43, Andi Shyti wrote:
From: Niranjana Vishwanathapura <niranjana.vishwanathap...@intel.com>

Implement the bind and unbind of an object at the specified GPU virtual
addresses.

Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathap...@intel.com>
Signed-off-by: Prathap Kumar Valsan <prathap.kumar.val...@intel.com>
Signed-off-by: Ramalingam C <ramalinga...@intel.com>
Signed-off-by: Andi Shyti <andi.sh...@linux.intel.com>

[snip]

+static struct i915_vma *vm_bind_get_vma(struct i915_address_space *vm,
+                    struct drm_i915_gem_object *obj,
+                    struct drm_i915_gem_vm_bind *va)
+{
+    struct i915_ggtt_view view;

Should that be renamed to i915_gtt_view? So all of this just works with ppgtt insertion, as-is? I'm impressed.

Yes please, do refactor first in the series. It is my standing request since January 2021. See ab307584-d97b-4fcf-7d4e-4d7de2d94...@linux.intel.com from a ~month ago.

Regards,

Tvrtko

Reply via email to