Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4afea34a authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Do INIT_WORK() just before queueing a deferred mem entry



gpuobj_free_on_fence() is used infrequently enough that it doesn't
make sense to do INIT_WORK() when the memory object is created,
especially if debug objects are enabled because INIT_WORK() will go
off and do a bunch of accounting that we don't need.  Do the
INIT_WORK() just before queueing in those rare cases that this
actually happens.

Change-Id: Ic0dedbad1015883788e12815806e3249a1e09b21
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent f25ae0b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment