Skip to content

Commit 735b3e0

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 2407b83 commit 735b3e0

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
@@ -4872,7 +4872,7 @@ static void kgsl_core_exit(void)
48724872
static int __init kgsl_core_init(void)
48734873
{
48744874
int result = 0;
4875-
struct sched_param param = { .sched_priority = 6 };
4875+
struct sched_param param = { .sched_priority = 16 };
48764876

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

0 commit comments

Comments
 (0)