[PATCH] drm/amdgpu: remove amdgpu_irq_get_delayed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Christian König
> Sent: Monday, November 14, 2016 8:26 AM
> To: amd-gfx at lists.freedesktop.org
> Subject: [PATCH] drm/amdgpu: remove amdgpu_irq_get_delayed
> 
> From: Christian König <christian.koenig at amd.com>
> 
> Not used any more.
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 9 ---------
>  drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | 3 ---
>  2 files changed, 12 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
> index e55ef0c..3cf3a19 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
> @@ -433,15 +433,6 @@ int amdgpu_irq_get(struct amdgpu_device *adev,
> struct amdgpu_irq_src *src,
>  	return 0;
>  }
> 
> -bool amdgpu_irq_get_delayed(struct amdgpu_device *adev,
> -			struct amdgpu_irq_src *src,
> -			unsigned type)
> -{
> -	if ((type >= src->num_types) || !src->enabled_types)
> -		return false;
> -	return atomic_inc_return(&src->enabled_types[type]) == 1;
> -}
> -
>  /**
>   * amdgpu_irq_put - disable interrupt
>   *
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
> index f016464..1642f41 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
> @@ -88,9 +88,6 @@ int amdgpu_irq_update(struct amdgpu_device *adev,
> struct amdgpu_irq_src *src,
>  		      unsigned type);
>  int amdgpu_irq_get(struct amdgpu_device *adev, struct amdgpu_irq_src
> *src,
>  		   unsigned type);
> -bool amdgpu_irq_get_delayed(struct amdgpu_device *adev,
> -			    struct amdgpu_irq_src *src,
> -			    unsigned type);
>  int amdgpu_irq_put(struct amdgpu_device *adev, struct amdgpu_irq_src
> *src,
>  		   unsigned type);
>  bool amdgpu_irq_enabled(struct amdgpu_device *adev, struct
> amdgpu_irq_src *src,
> --
> 2.5.0
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux