]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panfrost: Remove unused device property
authorAdrián Larumbe <adrian.larumbe@collabora.com>
Sun, 19 Oct 2025 14:52:15 +0000 (15:52 +0100)
committerSteven Price <steven.price@arm.com>
Mon, 20 Oct 2025 15:05:17 +0000 (16:05 +0100)
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>
drivers/gpu/drm/panfrost/panfrost_device.h
drivers/gpu/drm/panfrost/panfrost_mmu.c

index 45d77cda8b8931a0d39a57ff28b29f1291b5a47f..e61c4329fd07d7a1232a51242c81ab4db93fc713 100644 (file)
@@ -147,7 +147,6 @@ struct panfrost_device {
        DECLARE_BITMAP(is_suspended, PANFROST_COMP_BIT_MAX);
 
        spinlock_t as_lock;
-       unsigned long as_in_use_mask;
        unsigned long as_alloc_mask;
        unsigned long as_faulty_mask;
        struct list_head as_lru_list;
index 0e3adfbcbdcfcb4a936bd067f895df733846539b..02ccc05e23bb52390f3bcc3cc93b3ef3427bcb15 100644 (file)
@@ -715,7 +715,6 @@ static void panfrost_mmu_release_ctx(struct kref *kref)
                pm_runtime_put_autosuspend(pfdev->base.dev);
 
                clear_bit(mmu->as, &pfdev->as_alloc_mask);
-               clear_bit(mmu->as, &pfdev->as_in_use_mask);
                list_del(&mmu->list);
        }
        spin_unlock(&pfdev->as_lock);