mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
disp: rotator: remove warning log from spin_lock
On rotator commit failure resync timeline will happen which gives continuous warning logs in console leads to cpu throttling. To resolve this the warning message is removed from spin_lock. Change-Id: I5ce66413556518668769cad3bc6a900f9bdada4b Signed-off-by: Mahadevan <mahap@codeaurora.org>
This commit is contained in:
parent
f6c68cc1dc
commit
018e528ec3
1 changed files with 6 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "%s: " fmt, __func__
|
||||
|
|
@ -249,11 +249,13 @@ void sde_rotator_resync_timeline(struct sde_rot_timeline *tl)
|
|||
|
||||
spin_lock_irqsave(&tl->lock, flags);
|
||||
val = tl->next_value - tl->curr_value;
|
||||
if (val > 0) {
|
||||
SDEROT_WARN("flush %s:%d\n", tl->name, val);
|
||||
if (val > 0)
|
||||
sde_rotator_inc_timeline_locked(tl, val);
|
||||
}
|
||||
spin_unlock_irqrestore(&tl->lock, flags);
|
||||
|
||||
if (val > 0)
|
||||
SDEROT_WARN("flush %s:%d\n", tl->name, val);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue