Skip to content

Commit 954c262

Browse files
larunbestevenprice-arm
authored andcommitted
drm/panfrost: Remove unused device property
The as_in_use_mask device state variable is no longer in use. Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com> Link: https://lore.kernel.org/r/20251019145225.3621989-11-adrian.larumbe@collabora.com Signed-off-by: Steven Price <steven.price@arm.com>
1 parent 84b8cfe commit 954c262

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/gpu/drm/panfrost/panfrost_device.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ struct panfrost_device {
147147
DECLARE_BITMAP(is_suspended, PANFROST_COMP_BIT_MAX);
148148

149149
spinlock_t as_lock;
150-
unsigned long as_in_use_mask;
151150
unsigned long as_alloc_mask;
152151
unsigned long as_faulty_mask;
153152
struct list_head as_lru_list;

drivers/gpu/drm/panfrost/panfrost_mmu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@ static void panfrost_mmu_release_ctx(struct kref *kref)
715715
pm_runtime_put_autosuspend(pfdev->base.dev);
716716

717717
clear_bit(mmu->as, &pfdev->as_alloc_mask);
718-
clear_bit(mmu->as, &pfdev->as_in_use_mask);
719718
list_del(&mmu->list);
720719
}
721720
spin_unlock(&pfdev->as_lock);

0 commit comments

Comments
 (0)