[PATCH] drm/etnaviv: Drop the 'struct etnaviv_iommu_global::pta_lock' data member

Sui Jingfeng posted 1 patch 1 month ago
drivers/gpu/drm/etnaviv/etnaviv_mmu.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] drm/etnaviv: Drop the 'struct etnaviv_iommu_global::pta_lock' data member
Posted by Sui Jingfeng 1 month ago
Because it is not get used, drop it.

Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
---
 drivers/gpu/drm/etnaviv/etnaviv_mmu.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/etnaviv/etnaviv_mmu.h b/drivers/gpu/drm/etnaviv/etnaviv_mmu.h
index c01a147f0dfd..7f8ac0178547 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_mmu.h
+++ b/drivers/gpu/drm/etnaviv/etnaviv_mmu.h
@@ -61,7 +61,6 @@ struct etnaviv_iommu_global {
 			/* P(age) T(able) A(rray) */
 			u64 *pta_cpu;
 			dma_addr_t pta_dma;
-			struct spinlock pta_lock;
 			DECLARE_BITMAP(pta_alloc, ETNAVIV_PTA_ENTRIES);
 		} v2;
 	};
-- 
2.34.1
Re: [PATCH] drm/etnaviv: Drop the 'struct etnaviv_iommu_global::pta_lock' data member
Posted by Lucas Stach 3 weeks, 6 days ago
Am Samstag, dem 26.10.2024 um 01:51 +0800 schrieb Sui Jingfeng:
> Because it is not get used, drop it.
> 
> Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>

Thanks, applied to etnaviv/next.

> ---
>  drivers/gpu/drm/etnaviv/etnaviv_mmu.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/etnaviv/etnaviv_mmu.h b/drivers/gpu/drm/etnaviv/etnaviv_mmu.h
> index c01a147f0dfd..7f8ac0178547 100644
> --- a/drivers/gpu/drm/etnaviv/etnaviv_mmu.h
> +++ b/drivers/gpu/drm/etnaviv/etnaviv_mmu.h
> @@ -61,7 +61,6 @@ struct etnaviv_iommu_global {
>  			/* P(age) T(able) A(rray) */
>  			u64 *pta_cpu;
>  			dma_addr_t pta_dma;
> -			struct spinlock pta_lock;
>  			DECLARE_BITMAP(pta_alloc, ETNAVIV_PTA_ENTRIES);
>  		} v2;
>  	};