OSDN Git Service

msm: kgsl: Remove event worker
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 31 May 2016 17:24:30 +0000 (11:24 -0600)
committerCarter Cooper <ccooper@codeaurora.org>
Wed, 3 Aug 2016 16:34:05 +0000 (10:34 -0600)
commita0c892b3a6a58d50fe8cafe68ca5dd3a8cbf7135
tree923882a2ed266cddfe34fdf047f22358aeeb217b
parent9d0f3261dc1a517a90c8214ea8053fb1d2e80f6c
msm: kgsl: Remove event worker

Scheduling issues were occurring with the GPU event worker after
b7be807 (msm: kgsl: Unbind the kgsl-event workqueue) was merged.
In certain conditions, it seems that the kgsl-event workqueue
was conflicting with the KGSL worker and slowing it down.

It turns out that everywhere we schedule the event worker
and the dispatcher worker at the same time.  Since the worker
is singlethread, the event worker and the dispatcher run
synchronously anyway, so it makes sense to run the event processor
from within the dispatcher and save the extra schedule.

CRs-Fixed: 1043509
Change-Id: Ic0dedbad67eb04d41afb6add4477f146dfff9784
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
drivers/gpu/msm/adreno.c
drivers/gpu/msm/adreno_a5xx.c
drivers/gpu/msm/adreno_dispatch.c
drivers/gpu/msm/kgsl.c
drivers/gpu/msm/kgsl_device.h
drivers/gpu/msm/kgsl_events.c