Skip to content

Commit 0511d65

Browse files
kerneltoastmilouk
authored andcommitted
msm: kgsl: Increase worker thread priority
Currently, the kgsl worker thread is erroneosly ranked right below Android's audio threads in terms of priority. The kgsl worker thread is in the critical path for rendering frames to the display, so increase its priority to match the priority of MDSS' kthread (mdss_fb0). Signed-off-by: Sultan Alsawaf <[email protected]> Signed-off-by: Michael <[email protected]>
1 parent 7fe195a commit 0511d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/msm/kgsl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4945,7 +4945,7 @@ static void kgsl_core_exit(void)
49454945
static int __init kgsl_core_init(void)
49464946
{
49474947
int result = 0;
4948-
struct sched_param param = { .sched_priority = 6 };
4948+
struct sched_param param = { .sched_priority = 16 };
49494949

49504950
/* alloc major and minor device numbers */
49514951
result = alloc_chrdev_region(&kgsl_driver.major, 0, KGSL_DEVICE_MAX,

0 commit comments

Comments
 (0)