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

Christian König deathsimple at vodafone.de
Fri Jul 28 09:14:20 UTC 2017


Am 28.07.2017 um 05:41 schrieb Alex Deucher:
> 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>

Reviewed-by: Christian König <christian.koenig 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




More information about the amd-gfx mailing list