msm: kgsl: Increase events worker thread priority

Increase kgsl-events worker thread priority to run at high
priority among default worker threads to get some benefit
in fence signaling.

Change-Id: Ia3eeb1beabc4bca1ef69e37bc40ef9868e29572b
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
This commit is contained in:
Kamal Agrawal 2021-04-28 02:02:30 +05:30 committed by Gerrit - the friendly Code Review server
parent 7b1df8ff45
commit f2f60be2ec

View File

@ -4418,7 +4418,7 @@ int kgsl_device_platform_probe(struct kgsl_device *device)
goto error; goto error;
device->events_wq = alloc_workqueue("kgsl-events", device->events_wq = alloc_workqueue("kgsl-events",
WQ_UNBOUND | WQ_MEM_RECLAIM | WQ_SYSFS, 0); WQ_UNBOUND | WQ_MEM_RECLAIM | WQ_SYSFS | WQ_HIGHPRI, 0);
if (!device->events_wq) { if (!device->events_wq) {
dev_err(device->dev, "Failed to allocate events workqueue\n"); dev_err(device->dev, "Failed to allocate events workqueue\n");