Re: [PATCH v2 5/8] drm/panfrost: Handle page mapping failure

2024-12-02 Thread Boris Brezillon
On Thu, 28 Nov 2024 21:06:20 + Adrián Larumbe wrote: > When mapping the pages of a BO, either a heap type at page fault time or > else a non-heap BO at object creation time, if the ARM page table mapping > function fails, we unmap what had been mapped so far and bail out. > > Signed-off-by:

[PATCH v2 5/8] drm/panfrost: Handle page mapping failure

2024-11-28 Thread Adrián Larumbe
When mapping the pages of a BO, either a heap type at page fault time or else a non-heap BO at object creation time, if the ARM page table mapping function fails, we unmap what had been mapped so far and bail out. Signed-off-by: Adrián Larumbe --- drivers/gpu/drm/panfrost/panfrost_mmu.c | 44 +++