[PATCH 1/4] drm/amd/amdgpu: Clean up header file of symbols that are defined to be static

Alex Deucher alexdeucher at gmail.com
Tue Sep 29 19:57:28 UTC 2020


On Tue, Sep 29, 2020 at 1:25 PM Ramesh Errabolu <Ramesh.Errabolu at amd.com> wrote:
>
> [Why]
> Header file exports functions get_gpu_clock_counter(), get_cu_info() and
> select_se_sh() that are defined to be static
>
> Signed-off-by: Ramesh Errabolu <Ramesh.Errabolu at amd.com>

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

> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.h | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.h b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.h
> index fa5a3fbaf6ab..407472031daa 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.h
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.h
> @@ -26,9 +26,4 @@
>
>  extern const struct amdgpu_ip_block_version gfx_v9_0_ip_block;
>
> -void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num);
> -
> -uint64_t gfx_v9_0_get_gpu_clock_counter(struct amdgpu_device *adev);
> -int gfx_v9_0_get_cu_info(struct amdgpu_device *adev, struct amdgpu_cu_info *cu_info);
> -
>  #endif
> --
> 2.27.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list