OSDN Git Service

msm: mdss: Remove sync debug name generation from hot path
authorSultan Alsawaf <sultan@kerneltoast.com>
Thu, 18 Apr 2019 03:05:02 +0000 (20:05 -0700)
committer0ranko0P <ranko0p@outlook.com>
Sat, 7 Dec 2019 10:01:14 +0000 (18:01 +0800)
commit63db6f62b443cf0a1e52a7d30d6498ab6848fffa
treeb4a0fc4e861de3d80fdb029ae9a4e47eaf67a4b5
parentca7bf61b8d05ebb4a427063e37fe9068e3d5998c
msm: mdss: 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 frame render hot path.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
drivers/video/fbdev/msm/mdss_mdp_layer.c