A Panthor BO's sgtable is now retrieved from its dmap field.

Reviewed-by: Steven Price <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Adrián Larumbe <[email protected]>
---
 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 f1afe4a3e296..ca78267d43e9 100644
--- a/drivers/gpu/drm/panthor/panthor_mmu.c
+++ b/drivers/gpu/drm/panthor/panthor_mmu.c
@@ -199,14 +199,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;
-- 
2.53.0

Reply via email to