    req_mgr_link_info.dev_hdls[1] = s->sensor_dev_handle;
    ret = cam_control(s->multi_cam_state->video0_fd, CAM_REQ_MGR_LINK, &req_mgr_link_info, sizeof(req_mgr_link_info));
    s->link_handle = req_mgr_link_info.link_hdl;
  
    struct cam_req_mgr_link_control req_mgr_link_control = {0};
    req_mgr_link_control.ops = CAM_REQ_MGR_LINK_ACTIVATE;
    req_mgr_link_control.session_hdl = s->session_handle;
    req_mgr_link_control.num_links = 1;
    req_mgr_link_control.link_hdls[0] = s->link_handle;
 
</s> remove   LOGD("link: %d", ret);
 </s> add  </s> remove 		 .meta_stride = 0x0,
 </s> add 		 .meta_stride = 0x0,    // YUV has meta(stride=0x400, size=0x5000) </s> remove     io_cfg[0].format = CAM_FORMAT_MIPI_RAW_10;
    io_cfg[0].color_pattern = 0x5;
    io_cfg[0].bpp = 0xc;
    io_cfg[0].resource_type = CAM_ISP_IFE_OUT_RES_RDI_0;
 </s> add     io_cfg[0].format = CAM_FORMAT_MIPI_RAW_10;             // CAM_FORMAT_UBWC_TP10 for YUV
    io_cfg[0].color_space = CAM_COLOR_SPACE_BASE;          // CAM_COLOR_SPACE_BT601_FULL for YUV
    io_cfg[0].color_pattern = 0x5;                         // 0x0 for YUV
    io_cfg[0].bpp = 0xa;
    io_cfg[0].resource_type = CAM_ISP_IFE_OUT_RES_RDI_0;   // CAM_ISP_IFE_OUT_RES_FULL for YUV </s> remove       .dsp_mode = 0x0,
 </s> add       .dsp_mode = CAM_ISP_DSP_MODE_NONE,
  LOGD("link: %d hdl: 0x%X", ret, s->link_handle);
    req_mgr_link_info.dev_hdls[1] = s->sensor_dev_handle;
    ret = cam_control(s->multi_cam_state->video0_fd, CAM_REQ_MGR_LINK, &req_mgr_link_info, sizeof(req_mgr_link_info));
    s->link_handle = req_mgr_link_info.link_hdl;
  LOGD("link: %d hdl: 0x%X", ret, s->link_handle);
  
    struct cam_req_mgr_link_control req_mgr_link_control = {0};
    req_mgr_link_control.ops = CAM_REQ_MGR_LINK_ACTIVATE;
    req_mgr_link_control.session_hdl = s->session_handle;
    req_mgr_link_control.num_links = 1;
    req_mgr_link_control.link_hdls[0] = s->link_handle;
keep keep add keep keep keep keep keep keep
 Prepare for using the ISP (#23621)

* parse out isp packet with structs

* dsp mode

* support only driver / comments for yuv

* minor touchups

* DEBUG_FRAMES

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/camerad/cameras/camera_qcom2.cc