Re: [PATCH v4] drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

2024-05-13 Thread Mohamed Ahmed
Hey, Understood. Thanks a lot and sorry for any inconvenience. Mohamed On Mon, May 13, 2024 at 11:28 PM Danilo Krummrich wrote: > Hi Mohamed, > > Thank you for fixing this up! > > On 5/9/24 22:43, Mohamed Ahmed wrote: > > Allows PTE kind and tile mode on BO create with

[PATCH v4] drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

2024-05-09 Thread Mohamed Ahmed
://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795 Fixes: b88baab82871 ("drm/nouveau: implement new VM_BIND uAPI") Signed-off-by: Mohamed Ahmed --- drivers/gpu/drm/nouveau/nouveau_abi16.c | 3 ++ drivers/gpu/drm/nouveau/nouveau_bo.c| 44 +++-- include/uapi/drm/nou

[PATCH v3] drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

2024-05-08 Thread Mohamed Ahmed
://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28843 Fixes: b88baab82871 ("drm/nouveau: implement new VM_BIND uAPI") Signed-off-by: Mohamed Ahmed --- drivers/gpu/drm/nouveau/nouveau_abi16.c | 3 ++ drivers/gpu/drm/nouveau/nouveau_bo.c| 45 +++-- include/uapi/drm/nou

[PATCH RFC v2] drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

2024-04-30 Thread Mohamed Ahmed
Allows PTE kind and tile mode on BO create with VM_BIND, as well as adds a GETPARAM to indicate this change. This is needed to support modifiers in NVK and ensure correctness when dealing with the nouveau GL driver. --- v2 of the VMA PTE kind and tile mode patch. This one adds the kind and tile

[RFC] drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

2024-04-28 Thread Mohamed Ahmed
Allows PTE kind and tile mode on BO create with VM_BIND. This is needed to support modifiers in NVK and ensure correctness when dealing with the nouveau GL driver. Signed-off-by: Mohamed Ahmed --- drivers/gpu/drm/nouveau/nouveau_bo.c | 24 +++- 1 file changed, 19