[Intel-gfx] [RFC PATCH v3 04/17] drm/i915: Implement bind and unbind of object
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Wed Aug 31 07:28:53 UTC 2022
On 30/08/2022 19:19, Matthew Auld wrote:
> On 27/08/2022 20:43, Andi Shyti wrote:
>> From: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
>>
>> Implement the bind and unbind of an object at the specified GPU virtual
>> addresses.
>>
>> Signed-off-by: Niranjana Vishwanathapura
>> <niranjana.vishwanathapura at intel.com>
>> Signed-off-by: Prathap Kumar Valsan <prathap.kumar.valsan at intel.com>
>> Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
>> Signed-off-by: Andi Shyti <andi.shyti at 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-4d7de2d943fd at linux.intel.com from a ~month ago.
Regards,
Tvrtko
More information about the dri-devel
mailing list