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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user