[PATCH v3 2/2] drm/panthor: Avoid sleep locking in the internal BO size path
Boris Brezillon
boris.brezillon at collabora.com
Fri Feb 28 08:18:21 UTC 2025
On Thu, 27 Feb 2025 23:16:26 +0000
Adrián Larumbe <adrian.larumbe at collabora.com> wrote:
> -static int panthor_alloc_heap_chunk(struct panthor_device *ptdev,
> +static int panthor_alloc_heap_chunk(struct panthor_heap_pool *pool,
> struct panthor_vm *vm,
> struct panthor_heap *heap,
> bool initial_chunk)
The pool has a ptdev and a vm, so we can get rid of the vm field and
make the panthor_alloc_heap_chunk() and panthor_fre_heap_chunk() helpers
consistent.
More information about the dri-devel
mailing list