Re: [PATCH v7 4/6] drm/panthor: Remove unused operation context field

Boris Brezillon
2026-04-15T13:41:49Z

On Wed, 15 Apr 2026 12:28:48 +0100
Adrián Larumbe <adrian.larumbe@collabora.com> wrote:

> A Panthor BO's sgtable is now retrieved from its dmap field.
>
> Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>

> ---
> drivers/gpu/drm/panthor/panthor_mmu.c | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/panthor/panthor_mmu.c b/drivers/gpu/drm/panthor/panthor_mmu.c
> index d9e2f8afb8fb..cea78e5f0591 100644
> --- a/drivers/gpu/drm/panthor/panthor_mmu.c
> +++ b/drivers/gpu/drm/panthor/panthor_mmu.c
> @@ -195,14 +195,6 @@ struct panthor_vm_op_ctx {
> /** @map.bo_offset: Offset in the buffer object. */
> u64 bo_offset;
>
> - /**
> - * @map.sgt: sg-table pointing to pages backing the GEM object.
> - *
> - * This is gathered at job creation time, such that we don't have
> - * to allocate in ::run_job().
> - */
> - struct sg_table *sgt;
> -
> /** @map.bo: the BO being mapped. */
> struct panthor_gem_object *bo;
> } map;