OSDN Git Service

msm: kgsl: Remove sync debug name generation from hot path
authorSultan Alsawaf <sultan@kerneltoast.com>
Thu, 18 Apr 2019 03:06:20 +0000 (20:06 -0700)
committer0ranko0P <ranko0p@outlook.com>
Sat, 7 Dec 2019 10:01:14 +0000 (18:01 +0800)
commitbf8252d8c3b3e496cc67b5e3929e56e597c99bb1
tree2e5ff9f32953f7f910e6cf196e90c03e3a200482
parent63db6f62b443cf0a1e52a7d30d6498ab6848fffa
msm: kgsl: Remove sync debug name generation from hot path

Generating a sync debug name with snprintf in a hot path results in
excessive CPU time wasted on unneeded debug info. Remove the name
generation entirely to cut down CPU waste in the GPU's rendering hot
path.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
drivers/gpu/msm/kgsl_sync.c