Re: [PATCH] drm/panthor: Fix handling of partial GPU mapping of BOs

2024-11-12 Thread Boris Brezillon
On Mon, 11 Nov 2024 11:31:12 + Steven Price wrote: > On 11/11/2024 09:26, Akash Goel wrote: > > This commit fixes the handling of partial GPU mapping of buffer objects > > in Panthor. > > VM_BIND ioctl allows Userspace to partially map the BOs to GPU. > > To map a BO, Panthor walks through th

Re: [PATCH] drm/panthor: Fix handling of partial GPU mapping of BOs

2024-11-11 Thread Liviu Dudau
On Mon, Nov 11, 2024 at 09:26:21AM +, Akash Goel wrote: > This commit fixes the handling of partial GPU mapping of buffer objects > in Panthor. > VM_BIND ioctl allows Userspace to partially map the BOs to GPU. > To map a BO, Panthor walks through the sg_table to retrieve the physical > address

Re: [PATCH] drm/panthor: Fix handling of partial GPU mapping of BOs

2024-11-11 Thread Steven Price
On 11/11/2024 09:26, Akash Goel wrote: > This commit fixes the handling of partial GPU mapping of buffer objects > in Panthor. > VM_BIND ioctl allows Userspace to partially map the BOs to GPU. > To map a BO, Panthor walks through the sg_table to retrieve the physical > address of pages. If the mapp

[PATCH] drm/panthor: Fix handling of partial GPU mapping of BOs

2024-11-11 Thread Akash Goel
This commit fixes the handling of partial GPU mapping of buffer objects in Panthor. VM_BIND ioctl allows Userspace to partially map the BOs to GPU. To map a BO, Panthor walks through the sg_table to retrieve the physical address of pages. If the mapping is created at an offset into the BO, then the