diff --git a/drivers/cam_isp/cam_isp_context.c b/drivers/cam_isp/cam_isp_context.c index 991ee73212..6b257b4783 100644 --- a/drivers/cam_isp/cam_isp_context.c +++ b/drivers/cam_isp/cam_isp_context.c @@ -572,8 +572,8 @@ static const char *__cam_isp_resource_handle_id_to_type( return "LCR"; case CAM_ISP_IFE_OUT_RES_AWB_BFW: return "AWB_BFW"; - case CAM_ISP_IFE_OUT_RES_2PD_STATS: - return "2PD_STATS"; + case CAM_ISP_IFE_OUT_RES_PREPROCESS_2PD: + return "PREPROCESS_2PD"; case CAM_ISP_IFE_OUT_RES_STATS_AEC_BE: return "STATS_AEC_BE"; case CAM_ISP_IFE_OUT_RES_LTM_STATS: diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe17x/cam_vfe680.h b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe17x/cam_vfe680.h index 605b28a939..5881369798 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe17x/cam_vfe680.h +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe17x/cam_vfe680.h @@ -1701,7 +1701,7 @@ static struct cam_vfe_bus_ver3_hw_info vfe680_bus_hw_info = { }, }, { - .vfe_out_type = CAM_VFE_BUS_VER3_VFE_OUT_2PD, + .vfe_out_type = CAM_VFE_BUS_VER3_VFE_OUT_PREPROCESS_2PD, .max_width = 1920, .max_height = 1080, .source_group = CAM_VFE_BUS_VER3_SRC_GRP_1, @@ -1731,7 +1731,7 @@ static struct cam_vfe_bus_ver3_hw_info vfe680_bus_hw_info = { }, }, { - .vfe_out_type = CAM_VFE_BUS_VER3_VFE_OUT_2PD_STATS, + .vfe_out_type = CAM_VFE_BUS_VER3_VFE_OUT_2PD, .max_width = -1, .max_height = -1, .source_group = CAM_VFE_BUS_VER3_SRC_GRP_1, diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.c index 439c4389d2..66084e1118 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.c @@ -668,8 +668,8 @@ static enum cam_vfe_bus_ver3_vfe_out_type case CAM_ISP_IFE_OUT_RES_AWB_BFW: vfe_out_type = CAM_VFE_BUS_VER3_VFE_OUT_AWB_BFW; break; - case CAM_ISP_IFE_OUT_RES_2PD_STATS: - vfe_out_type = CAM_VFE_BUS_VER3_VFE_OUT_2PD_STATS; + case CAM_ISP_IFE_OUT_RES_PREPROCESS_2PD: + vfe_out_type = CAM_VFE_BUS_VER3_VFE_OUT_PREPROCESS_2PD; break; case CAM_ISP_IFE_OUT_RES_STATS_AEC_BE: vfe_out_type = CAM_VFE_BUS_VER3_VFE_OUT_STATS_AEC_BE; @@ -779,8 +779,8 @@ static int cam_vfe_bus_ver3_get_comp_vfe_out_res_id_list( if (comp_mask & (1 << CAM_VFE_BUS_VER3_VFE_OUT_AWB_BFW)) out_list[count++] = CAM_ISP_IFE_OUT_RES_AWB_BFW; - if (comp_mask & (1 << CAM_VFE_BUS_VER3_VFE_OUT_2PD_STATS)) - out_list[count++] = CAM_ISP_IFE_OUT_RES_2PD_STATS; + if (comp_mask & (1 << CAM_VFE_BUS_VER3_VFE_OUT_PREPROCESS_2PD)) + out_list[count++] = CAM_ISP_IFE_OUT_RES_PREPROCESS_2PD; if (comp_mask & (1 << CAM_VFE_BUS_VER3_VFE_OUT_STATS_AEC_BE)) out_list[count++] = CAM_ISP_IFE_OUT_RES_STATS_AEC_BE; @@ -1289,7 +1289,7 @@ static int cam_vfe_bus_ver3_acquire_wm( rsrc_data->en_cfg = 0x1; } else if ((vfe_out_res_id >= CAM_VFE_BUS_VER3_VFE_OUT_AWB_BFW) && - (vfe_out_res_id <= CAM_VFE_BUS_VER3_VFE_OUT_2PD_STATS)) { + (vfe_out_res_id <= CAM_VFE_BUS_VER3_VFE_OUT_PREPROCESS_2PD)) { switch (rsrc_data->format) { case CAM_FORMAT_PLAIN64: rsrc_data->width = 0; diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.h b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.h index 8b29905a0b..b1803920bb 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.h +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. */ @@ -78,7 +78,7 @@ enum cam_vfe_bus_ver3_vfe_out_type { CAM_VFE_BUS_VER3_VFE_OUT_2PD, CAM_VFE_BUS_VER3_VFE_OUT_LCR, CAM_VFE_BUS_VER3_VFE_OUT_AWB_BFW, - CAM_VFE_BUS_VER3_VFE_OUT_2PD_STATS, + CAM_VFE_BUS_VER3_VFE_OUT_PREPROCESS_2PD, CAM_VFE_BUS_VER3_VFE_OUT_STATS_AEC_BE, CAM_VFE_BUS_VER3_VFE_OUT_LTM_STATS, CAM_VFE_BUS_VER3_VFE_OUT_STATS_GTM_BHIST, diff --git a/include/uapi/camera/media/cam_isp_ife.h b/include/uapi/camera/media/cam_isp_ife.h index 5658bb6370..6de138466a 100644 --- a/include/uapi/camera/media/cam_isp_ife.h +++ b/include/uapi/camera/media/cam_isp_ife.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ /* - * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2021, The Linux Foundation. All rights reserved. */ #ifndef __UAPI_CAM_ISP_IFE_H__ @@ -35,7 +35,7 @@ #define CAM_ISP_IFE_OUT_RES_RDI_RD (CAM_ISP_IFE_OUT_RES_BASE + 23) #define CAM_ISP_IFE_OUT_RES_LCR (CAM_ISP_IFE_OUT_RES_BASE + 24) #define CAM_ISP_IFE_OUT_RES_SPARSE_PD (CAM_ISP_IFE_OUT_RES_BASE + 25) -#define CAM_ISP_IFE_OUT_RES_2PD_STATS (CAM_ISP_IFE_OUT_RES_BASE + 26) +#define CAM_ISP_IFE_OUT_RES_PREPROCESS_2PD (CAM_ISP_IFE_OUT_RES_BASE + 26) #define CAM_ISP_IFE_OUT_RES_AWB_BFW (CAM_ISP_IFE_OUT_RES_BASE + 27) #define CAM_ISP_IFE_OUT_RES_STATS_AEC_BE (CAM_ISP_IFE_OUT_RES_BASE + 28) #define CAM_ISP_IFE_OUT_RES_LTM_STATS (CAM_ISP_IFE_OUT_RES_BASE + 29)