disp: msm: Remove debug print from sde_reg_write()
This unused debug print wastes CPU time when writing to registers, resulting in perf top reporting a decent chunk of time spent inside sde_reg_write(). Removing the debug print gets sde_reg_write() off perf top's radar. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
This commit is contained in:
parent
cfd927d9f2
commit
df7fe36f50
@ -72,11 +72,6 @@ void sde_reg_write(struct sde_hw_blk_reg_map *c,
|
||||
u32 val,
|
||||
const char *name)
|
||||
{
|
||||
/* don't need to mutex protect this */
|
||||
if (c->log_mask & sde_hw_util_log_mask)
|
||||
SDE_DEBUG_DRIVER("[%s:0x%X] <= 0x%X\n",
|
||||
name, c->blk_off + reg_off, val);
|
||||
SDE_EVT32_REGWRITE(c->blk_off, reg_off, val);
|
||||
writel_relaxed(val, c->base_off + c->blk_off + reg_off);
|
||||
SDE_REG_LOG(c->log_mask ? ilog2(c->log_mask)+1 : 0,
|
||||
val, c->blk_off + reg_off);
|
||||
|
Loading…
Reference in New Issue
Block a user