msm: camera: tfe: LDAR dump for TFE
When user space detects an error or does not receive
response for a request, Lets do a reset(LDAR) is triggered.
Before LDAR, user space sends flush command to the
kernel space.
In order to debug the cause for this situation and to dump
the information, user space sends a dump command to
kernel space before sending flush.
As a part of this command, it passes the culprit request id
and the buffer into which the information can be dumped.
Kernel space traverses across the drivers and find the culprit hw
and dumps the relevant information in the buffer.
This data is written to a file for offline processing.
This commit dumps the TFE, CSID registers, LUT tables and context
information, cmd buffers, timestamps information for
submit, apply, RUP, epoch and buffdones of the last 20
requests.
Change-Id: I9a5decdf88d94e5d05b8c5a14e9f301f42adaa20
CRs-Fixed: 2612116
Signed-off-by:
Gaurav Jindal <gjindal@codeaurora.org>
Loading
Please register or sign in to comment