mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "msm: camera: jpeg: Add traces to profile jpeg processing time" into camera-kernel.lnx.4.0
This commit is contained in:
commit
1d4846d08d
2 changed files with 4 additions and 0 deletions
|
|
@ -139,6 +139,9 @@ static int cam_jpeg_process_next_hw_update(void *priv, void *data,
|
|||
rc = -EINVAL;
|
||||
goto end_error;
|
||||
}
|
||||
|
||||
CAM_TRACE(CAM_JPEG, "Start JPEG ENC Req %llu", config_args->request_id);
|
||||
|
||||
rc = hw_mgr->devices[dev_type][0]->hw_ops.start(
|
||||
hw_mgr->devices[dev_type][0]->hw_priv, NULL, 0);
|
||||
if (rc) {
|
||||
|
|
|
|||
|
|
@ -202,6 +202,7 @@ irqreturn_t cam_jpeg_enc_irq(int irq_num, void *data)
|
|||
if (CAM_JPEG_HW_IRQ_IS_FRAME_DONE(irq_status, hw_info)) {
|
||||
spin_lock(&jpeg_enc_dev->hw_lock);
|
||||
if (core_info->core_state == CAM_JPEG_ENC_CORE_READY) {
|
||||
CAM_TRACE(CAM_JPEG, "FrameDone IRQ");
|
||||
encoded_size = cam_io_r_mb(mem_base +
|
||||
core_info->jpeg_enc_hw_info->reg_offset.encode_size);
|
||||
if (core_info->irq_cb.jpeg_hw_mgr_cb) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue