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

Skip to content
Commit 742e2dd3 authored by Akhil P Oommen's avatar Akhil P Oommen
Browse files

msm: kgsl: Improve GMU firmware loading time



Doing a regwrite of one dword with barrier over a loop is very
inefficient for block writes to an I/O mapped memory. Use
memcpy_toio() to improve this since it is better for block copy
to io memory.

Profiled data of load_gmu_fw() over 400 iterations:
Old:- min:3.6ms max:35ms mean:21ms
New:- min:0.55ms max:1.11ms mean:1.02ms

Change-Id: I21aa6145caeeb777f27b90fe091c50af49948722
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
parent 4c16f4bd
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