[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250228091821.75d4d436@collabora.com>
Date: Fri, 28 Feb 2025 09:18:21 +0100
From: Boris Brezillon <boris.brezillon@...labora.com>
To: Adrián Larumbe <adrian.larumbe@...labora.com>
Cc: Steven Price <steven.price@....com>, Liviu Dudau <liviu.dudau@....com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard
<mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, David Airlie
<airlied@...il.com>, Simona Vetter <simona@...ll.ch>, Mihail Atanassov
<mihail.atanassov@....com>, kernel@...labora.com,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] drm/panthor: Avoid sleep locking in the internal
BO size path
On Thu, 27 Feb 2025 23:16:26 +0000
Adrián Larumbe <adrian.larumbe@...labora.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.
Powered by blists - more mailing lists