[PATCH 09/13] drm/xe/sa: Minor header cleanups

Matthew Brost matthew.brost at intel.com
Thu Dec 12 03:14:11 UTC 2024


On Thu, Dec 12, 2024 at 02:01:37AM +0100, Michal Wajdeczko wrote:
> Drop unused struct xe_bo forward declaration and, while around,
> fix unnecessary line split in xe_sa_bo_free() declaration.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Matthew Brost <matthew.brost at intel.com>

Reviewed-by: Matthew Brost <matthew.brost at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_sa.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_sa.h b/drivers/gpu/drm/xe/xe_sa.h
> index 9328b38eff6a..83581b427ea6 100644
> --- a/drivers/gpu/drm/xe/xe_sa.h
> +++ b/drivers/gpu/drm/xe/xe_sa.h
> @@ -10,7 +10,6 @@
>  #include "xe_sa_types.h"
>  
>  struct dma_fence;
> -struct xe_bo;
>  struct xe_tile;
>  
>  struct xe_sa_manager *__xe_sa_bo_manager_init(struct xe_tile *tile, u32 size, u32 guard, u32 align);
> @@ -27,8 +26,7 @@ static inline struct drm_suballoc *xe_sa_bo_new(struct xe_sa_manager *sa_manager
>  }
>  
>  void xe_sa_bo_flush_write(struct drm_suballoc *sa_bo);
> -void xe_sa_bo_free(struct drm_suballoc *sa_bo,
> -		   struct dma_fence *fence);
> +void xe_sa_bo_free(struct drm_suballoc *sa_bo, struct dma_fence *fence);
>  
>  static inline struct xe_sa_manager *
>  to_xe_sa_manager(struct drm_suballoc_manager *mng)
> -- 
> 2.47.1
> 


More information about the Intel-xe mailing list