disp: msm: sde: allow event log logging with IN_LOG_LIMITED flag

Event logs are restricted to be logged only with IN_LOG option during
a SDE_DBG_DUMP() call. Extend the logging support to IN_LOG_LIMITED
option. The option is set to IN_MEM by default and can be changed
through debugfs.

Change-Id: I8245cebe3ad71c026fbc51b39edf39ec06b7d0e6
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Cette révision appartient à :
Veera Sundaram Sankaran
2021-07-08 11:23:37 -07:00
Parent 6a01182c1e
révision 6e27bfd70c

Voir le fichier

@@ -205,7 +205,7 @@ void sde_evtlog_dump_all(struct sde_dbg_evtlog *evtlog)
char buf[SDE_EVTLOG_BUF_MAX];
bool update_last_entry = true;
if (!evtlog || !(evtlog->dump_mode & SDE_DBG_DUMP_IN_LOG))
if (!evtlog || !(evtlog->dump_mode & (SDE_DBG_DUMP_IN_LOG | SDE_DBG_DUMP_IN_LOG_LIMITED)))
return;
while (sde_evtlog_dump_to_buffer(evtlog, buf, sizeof(buf),