From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/gpu/drm/rockchip/ebc-dev/bufmanage/buf_manage.h | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/kernel/drivers/gpu/drm/rockchip/ebc-dev/bufmanage/buf_manage.h b/kernel/drivers/gpu/drm/rockchip/ebc-dev/bufmanage/buf_manage.h index c13af6c..745cdbf 100644 --- a/kernel/drivers/gpu/drm/rockchip/ebc-dev/bufmanage/buf_manage.h +++ b/kernel/drivers/gpu/drm/rockchip/ebc-dev/bufmanage/buf_manage.h @@ -30,24 +30,19 @@ int win_y1; int win_x2; int win_y2; - int needpic; }; -int ebc_drop_one_dsp_buf(void); -struct ebc_buf_s *ebc_empty_osd_buf_get(void); +struct ebc_buf_s *ebc_osd_buf_get(void); struct ebc_buf_s *ebc_osd_buf_clone(void); int ebc_buf_release(struct ebc_buf_s *release_buf); +int ebc_remove_from_dsp_buf_list(struct ebc_buf_s *remove_buf); int ebc_add_to_dsp_buf_list(struct ebc_buf_s *dsp_buf); -int ebc_add_to_osd_buf_list(struct ebc_buf_s *dsp_buf); int ebc_get_dsp_list_enum_num(void); -int ebc_get_osd_list_enum_num(void); struct ebc_buf_s *ebc_dsp_buf_get(void); -struct ebc_buf_s *ebc_osd_buf_get(void); struct ebc_buf_s *ebc_find_buf_by_phy_addr(unsigned long phy_addr); -struct ebc_buf_s *ebc_empty_buf_get(const char *tid_name); +struct ebc_buf_s *ebc_empty_buf_get(void); unsigned long ebc_phy_buf_base_get(void); char *ebc_virt_buf_base_get(void); -int ebc_buf_state_show(char *buf); int ebc_buf_uninit(void); int ebc_buf_init(unsigned long phy_start, char *mem_start, int men_len, int dest_buf_len, int max_buf_num); #endif -- Gitblit v1.6.2