Loading drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.c +7 −1 Original line number Diff line number Diff line Loading @@ -5323,6 +5323,11 @@ static int cam_tfe_hw_mgr_debug_register(void) return -ENOMEM; } static void cam_req_mgr_process_tfe_worker(struct work_struct *w) { cam_req_mgr_process_workq(w); } int cam_tfe_hw_mgr_init(struct cam_hw_mgr_intf *hw_mgr_intf, int *iommu_hdl) { int rc = -EFAULT; Loading Loading @@ -5477,7 +5482,8 @@ int cam_tfe_hw_mgr_init(struct cam_hw_mgr_intf *hw_mgr_intf, int *iommu_hdl) /* Create Worker for tfe_hw_mgr with 10 tasks */ rc = cam_req_mgr_workq_create("cam_tfe_worker", 10, &g_tfe_hw_mgr.workq, CRM_WORKQ_USAGE_NON_IRQ, 0); &g_tfe_hw_mgr.workq, CRM_WORKQ_USAGE_NON_IRQ, 0, cam_req_mgr_process_tfe_worker); if (rc < 0) { CAM_ERR(CAM_ISP, "Unable to create worker"); goto end; Loading drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c +20 −3 Original line number Diff line number Diff line Loading @@ -3573,6 +3573,21 @@ static int cam_ope_mgr_init_devs(struct device_node *of_node) return rc; } static void cam_req_mgr_process_ope_command_queue(struct work_struct *w) { cam_req_mgr_process_workq(w); } static void cam_req_mgr_process_ope_msg_queue(struct work_struct *w) { cam_req_mgr_process_workq(w); } static void cam_req_mgr_process_ope_timer_queue(struct work_struct *w) { cam_req_mgr_process_workq(w); } static int cam_ope_mgr_create_wq(void) { Loading @@ -3581,21 +3596,23 @@ static int cam_ope_mgr_create_wq(void) rc = cam_req_mgr_workq_create("ope_command_queue", OPE_WORKQ_NUM_TASK, &ope_hw_mgr->cmd_work, CRM_WORKQ_USAGE_NON_IRQ, 0); 0, cam_req_mgr_process_ope_command_queue); if (rc) { CAM_ERR(CAM_OPE, "unable to create a command worker"); goto cmd_work_failed; } rc = cam_req_mgr_workq_create("ope_message_queue", OPE_WORKQ_NUM_TASK, &ope_hw_mgr->msg_work, CRM_WORKQ_USAGE_IRQ, 0); &ope_hw_mgr->msg_work, CRM_WORKQ_USAGE_IRQ, 0, cam_req_mgr_process_ope_msg_queue); if (rc) { CAM_ERR(CAM_OPE, "unable to create a message worker"); goto msg_work_failed; } rc = cam_req_mgr_workq_create("ope_timer_queue", OPE_WORKQ_NUM_TASK, &ope_hw_mgr->timer_work, CRM_WORKQ_USAGE_IRQ, 0); &ope_hw_mgr->timer_work, CRM_WORKQ_USAGE_IRQ, 0, cam_req_mgr_process_ope_timer_queue); if (rc) { CAM_ERR(CAM_OPE, "unable to create a timer worker"); goto timer_work_failed; Loading Loading
drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.c +7 −1 Original line number Diff line number Diff line Loading @@ -5323,6 +5323,11 @@ static int cam_tfe_hw_mgr_debug_register(void) return -ENOMEM; } static void cam_req_mgr_process_tfe_worker(struct work_struct *w) { cam_req_mgr_process_workq(w); } int cam_tfe_hw_mgr_init(struct cam_hw_mgr_intf *hw_mgr_intf, int *iommu_hdl) { int rc = -EFAULT; Loading Loading @@ -5477,7 +5482,8 @@ int cam_tfe_hw_mgr_init(struct cam_hw_mgr_intf *hw_mgr_intf, int *iommu_hdl) /* Create Worker for tfe_hw_mgr with 10 tasks */ rc = cam_req_mgr_workq_create("cam_tfe_worker", 10, &g_tfe_hw_mgr.workq, CRM_WORKQ_USAGE_NON_IRQ, 0); &g_tfe_hw_mgr.workq, CRM_WORKQ_USAGE_NON_IRQ, 0, cam_req_mgr_process_tfe_worker); if (rc < 0) { CAM_ERR(CAM_ISP, "Unable to create worker"); goto end; Loading
drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c +20 −3 Original line number Diff line number Diff line Loading @@ -3573,6 +3573,21 @@ static int cam_ope_mgr_init_devs(struct device_node *of_node) return rc; } static void cam_req_mgr_process_ope_command_queue(struct work_struct *w) { cam_req_mgr_process_workq(w); } static void cam_req_mgr_process_ope_msg_queue(struct work_struct *w) { cam_req_mgr_process_workq(w); } static void cam_req_mgr_process_ope_timer_queue(struct work_struct *w) { cam_req_mgr_process_workq(w); } static int cam_ope_mgr_create_wq(void) { Loading @@ -3581,21 +3596,23 @@ static int cam_ope_mgr_create_wq(void) rc = cam_req_mgr_workq_create("ope_command_queue", OPE_WORKQ_NUM_TASK, &ope_hw_mgr->cmd_work, CRM_WORKQ_USAGE_NON_IRQ, 0); 0, cam_req_mgr_process_ope_command_queue); if (rc) { CAM_ERR(CAM_OPE, "unable to create a command worker"); goto cmd_work_failed; } rc = cam_req_mgr_workq_create("ope_message_queue", OPE_WORKQ_NUM_TASK, &ope_hw_mgr->msg_work, CRM_WORKQ_USAGE_IRQ, 0); &ope_hw_mgr->msg_work, CRM_WORKQ_USAGE_IRQ, 0, cam_req_mgr_process_ope_msg_queue); if (rc) { CAM_ERR(CAM_OPE, "unable to create a message worker"); goto msg_work_failed; } rc = cam_req_mgr_workq_create("ope_timer_queue", OPE_WORKQ_NUM_TASK, &ope_hw_mgr->timer_work, CRM_WORKQ_USAGE_IRQ, 0); &ope_hw_mgr->timer_work, CRM_WORKQ_USAGE_IRQ, 0, cam_req_mgr_process_ope_timer_queue); if (rc) { CAM_ERR(CAM_OPE, "unable to create a timer worker"); goto timer_work_failed; Loading