mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
soc: qcom: qdsp6v2: promote priority of apr_vm_cb_thread
The promoting is necessary to prevent audio tick noise under heavy cpu loading. Change-Id: I3fccb3b758b5fb5571031902344e542886b89209 Signed-off-by: Han Lu <hanlu@codeaurora.org>
This commit is contained in:
parent
2711643ba7
commit
6d78e2c24d
1 changed files with 4 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include <ipc/apr_tal.h>
|
||||
#include <ipc/aprv2_vm.h>
|
||||
#include <linux/habmm.h>
|
||||
#include <uapi/linux/sched/types.h>
|
||||
|
||||
#define APR_PKT_IPC_LOG_PAGE_CNT 2
|
||||
#define APR_VM_CB_THREAD_NAME "apr_vm_cb_thread"
|
||||
|
|
@ -585,6 +586,9 @@ static int apr_vm_cb_thread(void *data)
|
|||
unsigned long delay = jiffies + (HZ / 2);
|
||||
int status = 0;
|
||||
int ret = 0;
|
||||
struct sched_param param = {.sched_priority = 1};
|
||||
|
||||
sched_setscheduler(current, SCHED_FIFO, ¶m);
|
||||
|
||||
while (1) {
|
||||
do {
|
||||
|
|
|
|||
Loading…
Reference in a new issue