|
@@ -1015,14 +1015,15 @@ static int cam_jpeg_mgr_prepare_hw_update(void *hw_mgr_priv,
|
|
io_cfg_ptr[i].fence;
|
|
io_cfg_ptr[i].fence;
|
|
prepare_args->num_in_map_entries++;
|
|
prepare_args->num_in_map_entries++;
|
|
} else {
|
|
} else {
|
|
- prepare_args->in_map_entries[k].resource_handle =
|
|
|
|
|
|
+ prepare_args->out_map_entries[k].resource_handle =
|
|
io_cfg_ptr[i].resource_type;
|
|
io_cfg_ptr[i].resource_type;
|
|
prepare_args->out_map_entries[k++].sync_id =
|
|
prepare_args->out_map_entries[k++].sync_id =
|
|
io_cfg_ptr[i].fence;
|
|
io_cfg_ptr[i].fence;
|
|
prepare_args->num_out_map_entries++;
|
|
prepare_args->num_out_map_entries++;
|
|
}
|
|
}
|
|
- CAM_DBG(CAM_JPEG, "dir[%d]: %u, fence: %u",
|
|
|
|
- i, io_cfg_ptr[i].direction, io_cfg_ptr[i].fence);
|
|
|
|
|
|
+ CAM_DBG(CAM_JPEG, "dir[%d]: %u, fence: %u resource_type %d ",
|
|
|
|
+ i, io_cfg_ptr[i].direction, io_cfg_ptr[i].fence,
|
|
|
|
+ io_cfg_ptr[i].resource_type);
|
|
}
|
|
}
|
|
|
|
|
|
rc = cam_jpeg_add_command_buffers(packet, prepare_args, ctx_data);
|
|
rc = cam_jpeg_add_command_buffers(packet, prepare_args, ctx_data);
|