kgsl: Increase priority of RT thread
We need kgsl_worker_thread to preempt all userspace surfaceflinger threads to avoid a possible deadlock. This will prevent the SF threads from "stealing" cputime from kgsl_worker_thread. This is important, since kgsl_worker_thread executes work which blocks SF from proceeding. Signed-off-by: Alex Naidis <alex.naidis@linux.com>
This commit is contained in:
parent
90753ad1c5
commit
6c262f7c81
1 changed files with 1 additions and 1 deletions
|
@ -5281,7 +5281,7 @@ static void kgsl_core_exit(void)
|
|||
static int __init kgsl_core_init(void)
|
||||
{
|
||||
int result = 0;
|
||||
struct sched_param param = { .sched_priority = 2 };
|
||||
struct sched_param param = { .sched_priority = 6 };
|
||||
|
||||
/* alloc major and minor device numbers */
|
||||
result = alloc_chrdev_region(&kgsl_driver.major, 0,
|
||||
|
|
Loading…
Reference in a new issue