diff mbox series

drm/amdgpu:this forword declear maybe not used

Message ID 20210115034152.1800769-1-zhangzhijie@loongson.cn (mailing list archive)
State New, archived
Headers show
Series drm/amdgpu:this forword declear maybe not used | expand

Commit Message

ZhiJie.Zhang Jan. 15, 2021, 3:41 a.m. UTC
Signed-off-by: ZhiJie.Zhang <zhangzhijie@loongson.cn>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Comments

Alex Deucher Jan. 15, 2021, 6:22 p.m. UTC | #1
On Fri, Jan 15, 2021 at 3:55 AM ZhiJie.Zhang <zhangzhijie@loongson.cn> wrote:
>
> Signed-off-by: ZhiJie.Zhang <zhangzhijie@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox series

Patch

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;