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

2024-11-12 Thread Boris Brezillon
On Mon, 11 Nov 2024 13:47:20 + Akash Goel wrote: > This commit fixes the bug in the handling of partial mapping of the > buffer objects to the GPU, which caused kernel warnings. > > Panthor didn't correctly handle the case where the partial mapping > spanned multiple scatterlists and the map

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

2024-11-11 Thread Akash Goel
This commit fixes the bug in the handling of partial mapping of the buffer objects to the GPU, which caused kernel warnings. Panthor didn't correctly handle the case where the partial mapping spanned multiple scatterlists and the mapping offset didn't point to the 1st page of starting scatterlist.