disp: msm: avoid using spinlock while adding evtlog entry

Add support to use atomic variable instead of spinlog
for event log while adding enries. This change will
help optimize event log writing time.

Change-Id: I83661b85cd76ca738729ac51aa5afd97d162508d
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
Samantha Tran
2021-07-02 09:48:43 -07:00
parent dec0bb3812
commit ae94f07d6e
3 changed files with 8 additions and 15 deletions

View File

@@ -153,7 +153,7 @@ struct sde_dbg_evtlog {
u32 first;
u32 last;
u32 last_dump;
u32 curr;
atomic_t curr;
u32 next;
u32 enable;
u32 dump_mode;