From f483fa940554a8af518b113d2d2bafe424be931d Mon Sep 17 00:00:00 2001 From: Chaoyi Chen Date: Mon, 25 Mar 2024 17:00:42 +0800 Subject: [PATCH] drm/rockchip: debugfs: Remove unused vop_dump_list* structure vop_dump_list* is no longer used and this patch removes this structure. Signed-off-by: Chaoyi Chen Signed-off-by: Sandy Huang Change-Id: I9f32dfd707a1b7633479f2f2f8fee12ad69a96b1 --- drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h | 10 ---------- drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 6 +----- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h b/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h index 3134d851cc0e..e4aace25fe31 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h @@ -9,16 +9,6 @@ struct vop_dump_info; -/** - * struct vop_dump_list - store all buffer info per frame - * - * one frame maybe multiple buffer, all will be stored here. - * - */ -struct vop_dump_list { - struct list_head entry; -}; - /** * @DUMP_DISABLE: Disable dump and do not record plane info into list. * @DUMP_ENABLE: Record plane info into list. diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.h b/drivers/gpu/drm/rockchip/rockchip_drm_drv.h index b2bfebdfe6a7..42e194b24574 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.h @@ -168,14 +168,10 @@ struct rockchip_crtc { #if defined(CONFIG_ROCKCHIP_DRM_DEBUG) /** * @vop_dump_status the status of vop dump control - * @vop_dump_list_head the list head of vop dump list - * @vop_dump_list_init_flag init once * @vop_dump_times control the dump times - * @frme_count the frame of dump buf + * @vop_dump_frame_count the frame of dump buf */ enum vop_dump_status vop_dump_status; - struct list_head vop_dump_list_head; - bool vop_dump_list_init_flag; int vop_dump_times; int vop_dump_frame_count; #endif