[PATCH] drm/amdgpu:this forword declear maybe not used

Alex Deucher alexdeucher at gmail.com
Fri Jan 15 18:22:57 UTC 2021


On Fri, Jan 15, 2021 at 3:55 AM ZhiJie.Zhang <zhangzhijie at loongson.cn> wrote:
>
> Signed-off-by: ZhiJie.Zhang <zhangzhijie at loongson.cn>

Applied with a cleaned up commit message.

Thanks!

Alex

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> index 2ee6edb3df93..ef4acb1d4a80 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> @@ -58,10 +58,10 @@
>  /* Forward declarations */
>  struct amdgpu_device;
>  struct drm_device;
> -struct amdgpu_dm_irq_handler_data;
>  struct dc;
>  struct amdgpu_bo;
>  struct dmub_srv;
> +struct dc_plane_state;
>
>  struct common_irq_params {
>         struct amdgpu_device *adev;
> @@ -438,11 +438,6 @@ struct amdgpu_dm_connector {
>
>  extern const struct amdgpu_ip_block_version dm_ip_block;
>
> -struct amdgpu_framebuffer;
> -struct amdgpu_display_manager;
> -struct dc_validation_set;
> -struct dc_plane_state;
> -
>  struct dm_plane_state {
>         struct drm_plane_state base;
>         struct dc_plane_state *dc_state;
> --
> 2.29.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list