Skip to content
Commit dac0b6c8 authored by Lakshmi Narayana Kalavala's avatar Lakshmi Narayana Kalavala Committed by Karthik Anantha Ram
Browse files

msm: camera: icp: Enable HFI debug queue



Enabled HFI debug queue which logs the result for every
transaction with firmware. Debug msg interrupt raised
when debug queue size drops below water mark value. This
helps with debugging firmware related transactions. Also
updated processing of the queues as chunks of messages
than a single message.

To enable debug messages from firmware
echo 1 > /sys/kernel/debug/camera_icp/a5_debug_q

To enable A5 Jtag debugging
echo 1 > /sys/kernel/debug/camera_icp/a5_jtag_debug

To set debug level mask
echo $masked_value > /sys/kernel/debug/camera_icp/a5_debug_lvl

To enable trace_event
echo 1 > /sys/kernel/debug/tracing/events/camera/cam_icp_fw_dbg/enable
echo 1 > /sys/kernel/debug/tracing/tracing_on

Change-Id: I86fd4b6d345f3cb02b30d56aedf4b512d6d269e8
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 8c2eea77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment