From 05d9d625eb32882ffd2434daf177dc8314d18248 Mon Sep 17 00:00:00 2001 From: Jon Lin Date: Mon, 30 Dec 2024 14:22:16 +0800 Subject: [PATCH 1/6] mtd: spi-nor: Make spi_nor_wait_till_ready_with_msleep() static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drivers/mtd/spi-nor/core.c:736:5: warning: no previous prototype for ‘spi_nor_wait_till_ready_with_msleep’ [-Wmissing-prototypes] Fixes a7b387067083 ("mtd: spi-nor: core: Change to use msleep for erase ops") Change-Id: If2add4f5614f5337b5bd872db8a1b5149b7c4221 Signed-off-by: Jon Lin --- drivers/mtd/spi-nor/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index ba809b46cd4f..d4ee36e448bb 100644 --- a/drivers/mtd/spi-nor/core.c +++ b/drivers/mtd/spi-nor/core.c @@ -733,7 +733,7 @@ static int spi_nor_wait_till_ready_with_timeout_and_msleep(struct spi_nor *nor, * * Return: 0 on success, -errno otherwise. */ -int spi_nor_wait_till_ready_with_msleep(struct spi_nor *nor) +static int spi_nor_wait_till_ready_with_msleep(struct spi_nor *nor) { return spi_nor_wait_till_ready_with_timeout_and_msleep(nor, DEFAULT_READY_WAIT_JIFFIES); From cc61a7f0e7b3f50b576ae3e74243eef016787211 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Mon, 30 Dec 2024 14:21:34 +0800 Subject: [PATCH 2/6] Input: gt1x - Fix -Wmissing-prototypes warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drivers/input/touchscreen/gt1x/gt1x_tools.c:104:6: warning: no previous prototype for gt1x_deinit_tool_node’ [-Wmissing-prototypes] drivers/input/touchscreen/gt1x/gt1x_tools.c:79:5: warning: no previous prototype for gt1x_init_tool_node’ [-Wmissing-prototypes] drivers/input/touchscreen/gt1x/gt1x_update.c:199:5: warning: no previous prototype for gt1x_i2c_write_with_readback’ [-Wmissing-prototypes] drivers/input/touchscreen/gt1x/gt1x_update.c:218:5: warning: no previous prototype for getUint’ [-Wmissing-prototypes] drivers/input/touchscreen/gt1x/gt1x_update.c:750:5: warning: no previous prototype for __gt1x_hold_ss51_dsp_20’ [-Wmissing-prototypes] Signed-off-by: Tao Huang Change-Id: Ic689a12dd469e7a4a6f306cbbad065903cf90891 --- drivers/input/touchscreen/gt1x/gt1x_tools.c | 2 ++ drivers/input/touchscreen/gt1x/gt1x_update.c | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/gt1x/gt1x_tools.c b/drivers/input/touchscreen/gt1x/gt1x_tools.c index 1d824bdafd8a..0f38e988615d 100644 --- a/drivers/input/touchscreen/gt1x/gt1x_tools.c +++ b/drivers/input/touchscreen/gt1x/gt1x_tools.c @@ -23,6 +23,7 @@ #include #include "gt1x_generic.h" +#if GTP_CREATE_WR_NODE static ssize_t gt1x_tool_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos); static ssize_t gt1x_tool_write(struct file *filp, const char *buffer, size_t count, loff_t *ppos); @@ -431,3 +432,4 @@ static ssize_t gt1x_tool_read(struct file *filp, char __user *buffer, size_t cou *ppos += cmd_head.data_len; return cmd_head.data_len; } +#endif diff --git a/drivers/input/touchscreen/gt1x/gt1x_update.c b/drivers/input/touchscreen/gt1x/gt1x_update.c index 32171d951006..bd8e41b9fdfa 100644 --- a/drivers/input/touchscreen/gt1x/gt1x_update.c +++ b/drivers/input/touchscreen/gt1x/gt1x_update.c @@ -196,7 +196,7 @@ check_fs_fail: } #endif -int gt1x_i2c_write_with_readback(u16 addr, u8 *buffer, int length) +static int gt1x_i2c_write_with_readback(u16 addr, u8 *buffer, int length) { u8 buf[100]; int ret = gt1x_i2c_write(addr, buffer, length); @@ -213,9 +213,10 @@ int gt1x_i2c_write_with_readback(u16 addr, u8 *buffer, int length) return 0; } +#if 0 #define getU32(a) ((u32)getUint((u8 *)(a), 4)) #define getU16(a) ((u16)getUint((u8 *)(a), 2)) -u32 getUint(u8 *buffer, int len) +static u32 getUint(u8 *buffer, int len) { u32 num = 0; int i; @@ -225,6 +226,7 @@ u32 getUint(u8 *buffer, int len) } return num; } +#endif int gt1x_auto_update_proc(void *data) { @@ -747,7 +749,7 @@ _reset: return 0; } -int __gt1x_hold_ss51_dsp_20(void) +static int __gt1x_hold_ss51_dsp_20(void) { int ret = -1; int retry = 0; From de1cef0912b5f018eff2f562f522e0bbadb92e11 Mon Sep 17 00:00:00 2001 From: Sandy Huang Date: Mon, 23 Dec 2024 16:30:58 +0800 Subject: [PATCH 3/6] drm/rockchip: drv: add more info about iommu_reserve_map Signed-off-by: Sandy Huang Change-Id: I7d6120e1c2a78c4b51d69dc0e6c65b021519b9d3 --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index 41b4e9e6e4f1..c7b7890f4aae 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c @@ -1467,13 +1467,18 @@ static int rockchip_drm_init_iommu(struct drm_device *drm_dev) */ ret = iommu_map(private->domain, 0, 0, (size_t)SZ_2G, IOMMU_WRITE | IOMMU_READ | IOMMU_PRIV); - if (ret) + if (ret) { dev_err(drm_dev->dev, "failed to create 0-2G pre mapping\n"); + return 0; + } ret = iommu_map(private->domain, SZ_2G, SZ_2G, (size_t)SZ_2G, IOMMU_WRITE | IOMMU_READ | IOMMU_PRIV); - if (ret) + if (ret) { dev_err(drm_dev->dev, "failed to create 2G-4G pre mapping\n"); + return 0; + } + dev_info(drm_dev->dev, "Enable iommu reserve map\n"); } return ret; From 56ee595148fb0a73124f71f5332093d6b62c7d21 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Mon, 30 Dec 2024 18:58:22 +0800 Subject: [PATCH 4/6] input: touchscreen: gsl_point_id: Add gsl_point_id.h drivers/input/touchscreen/gsl_point_id.c:2187:6: warning: no previous prototype for 'gsl_ReportPressure' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:2209:6: warning: no previous prototype for 'gsl_TouchNear' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:2317:6: warning: no previous prototype for 'gsl_DataInit' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:2595:14: warning: no previous prototype for 'gsl_version_id' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:2601:14: warning: no previous prototype for 'gsl_mask_tiaoping' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:2647:6: warning: no previous prototype for 'gsl_alg_id_main' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:2697:5: warning: no previous prototype for 'gsl_obtain_gesture' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:3001:6: warning: no previous prototype for 'gsl_GestureExtern' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:3076:14: warning: no previous prototype for 'gsl_GestureBuffer' [-Wmissing-prototypes] drivers/input/touchscreen/gsl_point_id.c:549:5: warning: no previous prototype for 'abs' [-Wmissing-prototypes] Signed-off-by: Tao Huang Change-Id: I85aba64c02e93734df77e806b96f264bf91e244b --- drivers/input/touchscreen/gsl3673.c | 1 + drivers/input/touchscreen/gsl3673.h | 4 -- drivers/input/touchscreen/gsl3673_800x1280.c | 1 + drivers/input/touchscreen/gsl3673_800x1280.h | 4 -- .../touchscreen/gsl3676/rk3368_th863c_10.h | 5 --- drivers/input/touchscreen/gsl_point_id.c | 45 ++++++++++++------- drivers/input/touchscreen/gsl_point_id.h | 22 +++++++++ drivers/input/touchscreen/gslx680.h | 4 -- drivers/input/touchscreen/gslx6801.h | 5 --- .../gslx680_d708/rockchip_gsl3670.h | 5 --- drivers/input/touchscreen/gslx680_firefly.h | 5 --- drivers/input/touchscreen/gslx680_pad.c | 1 + drivers/input/touchscreen/gslx680_pad.h | 5 --- ...ochkchip_gslX680_8inch_800x1280_tg806_10.h | 4 -- drivers/input/touchscreen/tp_gslx680_board.h | 5 --- 15 files changed, 54 insertions(+), 62 deletions(-) create mode 100644 drivers/input/touchscreen/gsl_point_id.h diff --git a/drivers/input/touchscreen/gsl3673.c b/drivers/input/touchscreen/gsl3673.c index 8a9b9f25af6a..c7d45e30c423 100644 --- a/drivers/input/touchscreen/gsl3673.c +++ b/drivers/input/touchscreen/gsl3673.c @@ -25,6 +25,7 @@ #include #include +#include "gsl_point_id.h" #include "tp_suspend.h" #include #define GSL_DEBUG 0 diff --git a/drivers/input/touchscreen/gsl3673.h b/drivers/input/touchscreen/gsl3673.h index bbcdd97fdbcc..ba279a15668c 100644 --- a/drivers/input/touchscreen/gsl3673.h +++ b/drivers/input/touchscreen/gsl3673.h @@ -22,10 +22,6 @@ struct gsl_touch_info int id[10]; int finger_num; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); unsigned int gsl_config_data_id_3673[] = { 0x80348e, diff --git a/drivers/input/touchscreen/gsl3673_800x1280.c b/drivers/input/touchscreen/gsl3673_800x1280.c index 5d1cf194c68a..eee7370d4e30 100644 --- a/drivers/input/touchscreen/gsl3673_800x1280.c +++ b/drivers/input/touchscreen/gsl3673_800x1280.c @@ -25,6 +25,7 @@ #include #include +#include "gsl_point_id.h" #include "tp_suspend.h" #include #define GSL_DEBUG 0 diff --git a/drivers/input/touchscreen/gsl3673_800x1280.h b/drivers/input/touchscreen/gsl3673_800x1280.h index 38fa03963eb1..f8fade81fabc 100644 --- a/drivers/input/touchscreen/gsl3673_800x1280.h +++ b/drivers/input/touchscreen/gsl3673_800x1280.h @@ -21,10 +21,6 @@ struct gsl_touch_info { int id[10]; int finger_num; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); static unsigned int gsl_config_data_id_3673[] = { 0x94ed81, 0x200, diff --git a/drivers/input/touchscreen/gsl3676/rk3368_th863c_10.h b/drivers/input/touchscreen/gsl3676/rk3368_th863c_10.h index 617860f76401..047fde75752f 100644 --- a/drivers/input/touchscreen/gsl3676/rk3368_th863c_10.h +++ b/drivers/input/touchscreen/gsl3676/rk3368_th863c_10.h @@ -27,11 +27,6 @@ struct gsl_touch_info { int id[10]; int finger_num; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); - static unsigned int gsl_config_data_id[512] = { diff --git a/drivers/input/touchscreen/gsl_point_id.c b/drivers/input/touchscreen/gsl_point_id.c index d46730f21f80..836d7b8d635b 100644 --- a/drivers/input/touchscreen/gsl_point_id.c +++ b/drivers/input/touchscreen/gsl_point_id.c @@ -9,6 +9,7 @@ * published by the Free Software Foundation. */ +#include "gsl_point_id.h" //#include "linux/module.h" //#include /* @@ -350,26 +351,27 @@ typedef struct static int gesture_num,gesture_num_last;//gesture_num static int gesture_dis_min; static int gesture_deal; -static int gesture_last; +//static int gesture_last; static int gesture_threshold[2]; static int x_scale; static int y_scale; static int double_down,double_up; -static const GESTURE_MODEL_TYPE * model_extern = NULL; -static int model_extern_len = 0; +//static const GESTURE_MODEL_TYPE * model_extern = NULL; +//static int model_extern_len = 0; static int GestureSqrt(int d); static int GestureDistance(GESTURE_POINT_TYPE* d1,GESTURE_POINT_TYPE* d2,int sqrt_able); static int GesturePush(GESTURE_POINT_TYPE* data); -static int GestureStretch(void); -static int GestureLength(void); -static int GestureDeal(void); -static int GestureModel(const GESTURE_MODEL_TYPE * model,int len,int threshold,int *out); +//static int GestureStretch(void); +//static int GestureLength(void); +//static int GestureDeal(void); +//static int GestureModel(const GESTURE_MODEL_TYPE * model,int len,int threshold,int *out); static int GestureMain(unsigned int data[],unsigned int pn); -static void GestureStandard(void); +//static void GestureStandard(void); static void GestureInit(void); -static void ChangeXY(void); -static int GestureLRUD(void); +//static void ChangeXY(void); +//static int GestureLRUD(void); static void GestureSet(unsigned int conf[]); +#if 0 static const GESTURE_MODEL_TYPE model_default[] ={ {0x10,'3',{ @@ -528,6 +530,7 @@ static const GESTURE_MODEL_TYPE model_default[] 0x010bfced,0x2513ffff,0x4937fdff,0x6d5bf9fa,0x9280f4f7,0xb6a4f0f1,0xdac8eeef,0xffececed,}}, }; #endif +#endif //+++++++++++++++++++++++++++++++++++++++++++++++++++++++ static void SortBubble(int t[],int size) { @@ -546,11 +549,13 @@ static void SortBubble(int t[],int size) } } } -int abs(int i){ +#if 0 +static int abs(int i){ if(i<0) return ~(--i); return i; } +#endif static int Sqrt(int d) { int ret = 0; @@ -2184,7 +2189,8 @@ static void PointPressure(void) } } -void gsl_ReportPressure(unsigned int *p) +#if 0 +static void gsl_ReportPressure(unsigned int *p) { int i; for(i=0;i>16) & 0xffff); } +#endif static void GestureSet(unsigned int conf[]) { @@ -2952,6 +2963,7 @@ static void GestureSet(unsigned int conf[]) } } +#if 0 static int GestureDeal(void) { int i; @@ -2998,7 +3010,7 @@ static int GestureDeal(void) return gesture_last; } -void gsl_GestureExtern(const GESTURE_MODEL_TYPE *model,int len) +static void gsl_GestureExtern(const GESTURE_MODEL_TYPE *model,int len) { model_extern = model; model_extern_len = len; @@ -3073,7 +3085,7 @@ static int GestureLRUD(void) return FALSE; } -unsigned int gsl_GestureBuffer(unsigned int **buf) +static unsigned int gsl_GestureBuffer(unsigned int **buf) { int i; if(gesture_num_last >= GESTURE_BUF_SIZE) @@ -3087,6 +3099,7 @@ unsigned int gsl_GestureBuffer(unsigned int **buf) } //EXPORT_SYMBOL(gsl_GestureBuffer); #endif +#endif /* // The DLL must have an entry point, but it is never called. // diff --git a/drivers/input/touchscreen/gsl_point_id.h b/drivers/input/touchscreen/gsl_point_id.h new file mode 100644 index 000000000000..4fc57ee4ce01 --- /dev/null +++ b/drivers/input/touchscreen/gsl_point_id.h @@ -0,0 +1,22 @@ +/* + * drivers/input/touchscreen/gsl_point_id.h + * + * Copyright (c) 2012 Shanghai Basewin + * Guan Yuwei + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _GSL_POINT_ID_H +#define _GSL_POINT_ID_H + +struct gsl_touch_info; + +unsigned int gsl_mask_tiaoping(void); +unsigned int gsl_version_id(void); +void gsl_alg_id_main(struct gsl_touch_info *cinfo); +void gsl_DataInit(unsigned int * conf_in); + +#endif /* _GSL_POINT_ID_H */ diff --git a/drivers/input/touchscreen/gslx680.h b/drivers/input/touchscreen/gslx680.h index 2a76ec410c81..e969a6146a2d 100644 --- a/drivers/input/touchscreen/gslx680.h +++ b/drivers/input/touchscreen/gslx680.h @@ -40,10 +40,6 @@ struct gsl_touch_info int id[10]; int finger_num; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); /* unsigned int gsl_config_versions[]= diff --git a/drivers/input/touchscreen/gslx6801.h b/drivers/input/touchscreen/gslx6801.h index 45bb3469d2ea..db177eade6f8 100644 --- a/drivers/input/touchscreen/gslx6801.h +++ b/drivers/input/touchscreen/gslx6801.h @@ -29,11 +29,6 @@ struct gsl_touch_info { int finger_num; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); - static unsigned int gsl_config_data_id[] = { 0x9eca05, 0x200, diff --git a/drivers/input/touchscreen/gslx680_d708/rockchip_gsl3670.h b/drivers/input/touchscreen/gslx680_d708/rockchip_gsl3670.h index 56df4062587e..5358b4266203 100644 --- a/drivers/input/touchscreen/gslx680_d708/rockchip_gsl3670.h +++ b/drivers/input/touchscreen/gslx680_d708/rockchip_gsl3670.h @@ -21,11 +21,6 @@ struct gsl_touch_info { int finger_num; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); - unsigned int gsl_config_data_id[] = { 0x79a1cc, 0x200, diff --git a/drivers/input/touchscreen/gslx680_firefly.h b/drivers/input/touchscreen/gslx680_firefly.h index 8f40c59d7d2d..69b65866eb03 100644 --- a/drivers/input/touchscreen/gslx680_firefly.h +++ b/drivers/input/touchscreen/gslx680_firefly.h @@ -25,11 +25,6 @@ struct gsl_touch_info { int finger_num; }; -unsigned int gsl_mask_tiaoping(void); -unsigned int gsl_version_id(void); -void gsl_alg_id_main(struct gsl_touch_info *cinfo); -void gsl_DataInit(int *ret); - unsigned int gsl_config_data_id_3680B[] = { 0x72d266, 0x200, diff --git a/drivers/input/touchscreen/gslx680_pad.c b/drivers/input/touchscreen/gslx680_pad.c index c111782b2339..c8a69c8a3aea 100644 --- a/drivers/input/touchscreen/gslx680_pad.c +++ b/drivers/input/touchscreen/gslx680_pad.c @@ -32,6 +32,7 @@ #include "tp_suspend.h" #include "gslx680_pad.h" +#include "gsl_point_id.h" #include //#define GSL_DEBUG #define REPORT_DATA_ANDROID_4_0 diff --git a/drivers/input/touchscreen/gslx680_pad.h b/drivers/input/touchscreen/gslx680_pad.h index 3f816e8e364a..76395db2e79d 100644 --- a/drivers/input/touchscreen/gslx680_pad.h +++ b/drivers/input/touchscreen/gslx680_pad.h @@ -44,11 +44,6 @@ struct gsl_touch_chip_info unsigned long conf_in_len; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); - static unsigned int gsl_config_data_id[] = { 0x8a44e0, diff --git a/drivers/input/touchscreen/rochkchip_gslX680_8inch_800x1280_tg806_10.h b/drivers/input/touchscreen/rochkchip_gslX680_8inch_800x1280_tg806_10.h index 7d424c1e1c30..805911df6fb1 100644 --- a/drivers/input/touchscreen/rochkchip_gslX680_8inch_800x1280_tg806_10.h +++ b/drivers/input/touchscreen/rochkchip_gslX680_8inch_800x1280_tg806_10.h @@ -22,10 +22,6 @@ struct gsl_touch_info{ int id[10]; int finger_num; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); static unsigned int gsl_config_data_id_3673[] = { 0xb976bc, diff --git a/drivers/input/touchscreen/tp_gslx680_board.h b/drivers/input/touchscreen/tp_gslx680_board.h index bc90005e215d..bbafa96c5d64 100644 --- a/drivers/input/touchscreen/tp_gslx680_board.h +++ b/drivers/input/touchscreen/tp_gslx680_board.h @@ -20,11 +20,6 @@ struct gsl_touch_info { int finger_num; }; -extern unsigned int gsl_mask_tiaoping(void); -extern unsigned int gsl_version_id(void); -extern void gsl_alg_id_main(struct gsl_touch_info *cinfo); -extern void gsl_DataInit(int *ret); - static unsigned int gsl_config_data_id[] = { 0x9296dd, 0x200, From 7e4e4b574b3aa36498934d5976bbf7458eb5d979 Mon Sep 17 00:00:00 2001 From: Weiwen Chen Date: Thu, 26 Dec 2024 09:15:55 +0800 Subject: [PATCH 5/6] video: rockchip: mpp_osal: ROCKCHIP_MPP_OSAL remove chip id Signed-off-by: Weiwen Chen Change-Id: I45176834553654cadcd026ab73ea9c0695bd7c01 --- drivers/video/rockchip/mpp_osal/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/rockchip/mpp_osal/Kconfig b/drivers/video/rockchip/mpp_osal/Kconfig index b8ad041c2e6b..b2134484155c 100644 --- a/drivers/video/rockchip/mpp_osal/Kconfig +++ b/drivers/video/rockchip/mpp_osal/Kconfig @@ -2,7 +2,5 @@ config ROCKCHIP_MPP_OSAL bool "mpp osal" - depends on CPU_RV1103B || CPU_RV1106 - default y help rockchip mpp osal adapt for kmpp From 0c8f2934ce385712a00f1f264ac2bfac6a071487 Mon Sep 17 00:00:00 2001 From: cww Date: Mon, 30 Dec 2024 19:10:42 +0800 Subject: [PATCH 6/6] ARM: rv1106_defconfig: Enable CONFIG_ROCKCHIP_MPP_OSAL Signed-off-by: cww Change-Id: Ia577a53deee86d688ad7283cfd2e36c2a17e821a --- arch/arm/configs/rv1106_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/rv1106_defconfig b/arch/arm/configs/rv1106_defconfig index bbe28ac842a2..9353f9010dcd 100644 --- a/arch/arm/configs/rv1106_defconfig +++ b/arch/arm/configs/rv1106_defconfig @@ -153,6 +153,7 @@ CONFIG_VIDEO_ROCKCHIP_ISP=m CONFIG_VIDEO_RK_IRCUT=y CONFIG_ROCKCHIP_MULTI_RGA=m CONFIG_ROCKCHIP_RVE=m +CONFIG_ROCKCHIP_MPP_OSAL=y CONFIG_ROCKCHIP_DVBM=m CONFIG_SOUND=y CONFIG_SND=y