disp: msm: sde: avoid using spinlock for register log
Add support to use atomic variable instead of spinlock for register logs during register write. This change helps in reducing the run-time and is safe to use as most of the register writes happen in commit context. Change-Id: Ib7e377f80cbf437e391792b0b424cbd1eefdf497 Signed-off-by: Yashwanth <yvulapu@codeaurora.org> Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Cette révision appartient à :
@@ -191,11 +191,10 @@ struct sde_dbg_reglog {
|
||||
u32 first;
|
||||
u32 last;
|
||||
u32 last_dump;
|
||||
u32 curr;
|
||||
atomic64_t curr;
|
||||
u32 next;
|
||||
u32 enable;
|
||||
u32 enable_mask;
|
||||
spinlock_t spin_lock;
|
||||
};
|
||||
|
||||
extern struct sde_dbg_reglog *sde_dbg_base_reglog;
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur