[PATCH] drm/amdgpu: drop old ip definitions for gfxhub and mmhub

Huang Rui ray.huang at amd.com
Fri Jul 28 08:30:04 UTC 2017


On Thu, Jul 27, 2017 at 11:41:07PM -0400, Alex Deucher wrote:
> The gfxhub and mmhub code are now helpers for gmc rather
> than standalone IPs.  When that changes these were left
> over.  Remove them.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Acked-by: Huang Rui <ray.huang at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h | 2 --
>  drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h  | 3 ---
>  2 files changed, 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h b/drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h
> index d2dbb08..206e29c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h
> +++ b/drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h
> @@ -30,7 +30,5 @@ void gfxhub_v1_0_set_fault_enable_default(struct amdgpu_device *adev,
>  					  bool value);
>  void gfxhub_v1_0_init(struct amdgpu_device *adev);
>  u64 gfxhub_v1_0_get_mc_fb_offset(struct amdgpu_device *adev);
> -extern const struct amd_ip_funcs gfxhub_v1_0_ip_funcs;
> -extern const struct amdgpu_ip_block_version gfxhub_v1_0_ip_block;
>  
>  #endif
> diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
> index 57bb940..5d38229 100644
> --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
> +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
> @@ -36,7 +36,4 @@ void mmhub_v1_0_initialize_power_gating(struct amdgpu_device *adev);
>  void mmhub_v1_0_update_power_gating(struct amdgpu_device *adev,
>                                  bool enable);
>  
> -extern const struct amd_ip_funcs mmhub_v1_0_ip_funcs;
> -extern const struct amdgpu_ip_block_version mmhub_v1_0_ip_block;
> -
>  #endif
> -- 
> 2.5.5
> 
> _______________________________________________
> 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