disp: msm: optimize devcoredump read operation duration
Set a flag to avoid multiple reading of sde_dbg info, that reduces devcoredump reading time. Change-Id: I83f77dea35bb818d51b0982124a54ffeef7db8af Signed-off-by: Bruce Hoo <quic_bingchua@quicinc.com>
This commit is contained in:
@@ -217,7 +217,7 @@ u32 sde_evtlog_count(struct sde_dbg_evtlog *evtlog)
|
||||
last_dump += SDE_EVTLOG_ENTRY;
|
||||
}
|
||||
|
||||
if ((last_dump - first) > SDE_EVTLOG_PRINT_ENTRY)
|
||||
if ((last_dump - first) > SDE_EVTLOG_ENTRY)
|
||||
return SDE_EVTLOG_ENTRY;
|
||||
|
||||
return last_dump - first;
|
||||
|
مرجع در شماره جدید
Block a user