video: driver: add macros for kernel space logs
adding kernel space logs used by post processing scripts as macros to avoid changes in them. Change-Id: Iea0fb0514c134767f063902ff98fd756898ef7c4 Signed-off-by: Deepa Guthyappa Madivalara <quic_dmadival@quicinc.com>
This commit is contained in:
@@ -39,6 +39,18 @@ extern int msm_vidc_llc_bw;
|
||||
extern bool msm_vidc_fw_dump;
|
||||
extern unsigned int msm_vidc_enable_bugon;
|
||||
|
||||
/* do not modify the log message as it is used in test scripts */
|
||||
#define FMT_STRING_SET_CTRL \
|
||||
"%s: state %s, name %s, id 0x%x value %d\n"
|
||||
#define FMT_STRING_STATE_CHANGE \
|
||||
"%s: state changed to %s from %s\n"
|
||||
#define FMT_STRING_MSG_SFR \
|
||||
"SFR Message from FW: %s\n"
|
||||
#define FMT_STRING_FAULT_HANDLER \
|
||||
"%s: faulting address: %lx\n"
|
||||
#define FMT_STRING_SET_CAP \
|
||||
"set cap: name: %24s, cap value: %#10x, hfi: %#10x\n"
|
||||
|
||||
/* To enable messages OR these values and
|
||||
* echo the result to debugfs file.
|
||||
*
|
||||
|
Reference in New Issue
Block a user