Revert "msm: kgsl: Affine IRQ and worker kthread to the big CPU cluster"
This reverts commit 417bded5a942a2a23ad65b3fe5fd3fff2d0dbf5b. This is wrong. This causes 3 IRQs to be affined to the big CPU cluster, not just the primary kgsl_3d0_irq one. As a result, the perf crit API thinks that the 2 extra IRQs are critical and will balance them despite them being rarely used (kgsl_hfi_irq and kgsl_gmu_irq). Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
This commit is contained in:
parent
686d26f283
commit
94f3e31c1b
@ -5242,8 +5242,8 @@ int kgsl_request_irq(struct platform_device *pdev, const char *name,
|
||||
if (num < 0)
|
||||
return num;
|
||||
|
||||
ret = devm_request_irq(&pdev->dev, num, handler, IRQF_TRIGGER_HIGH |
|
||||
IRQF_PERF_AFFINE, name, data);
|
||||
ret = devm_request_irq(&pdev->dev, num, handler, IRQF_TRIGGER_HIGH,
|
||||
name, data);
|
||||
|
||||
if (ret)
|
||||
dev_err(&pdev->dev, "Unable to get interrupt %s: %d\n",
|
||||
@ -5529,8 +5529,8 @@ static int __init kgsl_core_init(void)
|
||||
|
||||
kthread_init_worker(&kgsl_driver.worker);
|
||||
|
||||
kgsl_driver.worker_thread = kthread_run_perf_critical(cpu_perf_mask,
|
||||
kthread_worker_fn, &kgsl_driver.worker, "kgsl_worker_thread");
|
||||
kgsl_driver.worker_thread = kthread_run(kthread_worker_fn,
|
||||
&kgsl_driver.worker, "kgsl_worker_thread");
|
||||
|
||||
if (IS_ERR(kgsl_driver.worker_thread)) {
|
||||
pr_err("kgsl: unable to start kgsl thread\n");
|
||||
|
Loading…
Reference in New Issue
Block a user