diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2015-02-23 16:42:03 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:57:26 -0400 |
commit | ced17a2d31a49b771b0cc9715f15330a408f8e69 (patch) | |
tree | 839b5a7f3c3b32aa3b5177cf2b21e19afc06b0fe /drivers/gpu/nvgpu/gk20a/platform_gk20a_generic.c | |
parent | 5f6cc1289e4282ac034bd97a67a86e05b82915d0 (diff) |
gpu: nvgpu: Use busy looping for flush operations
Use busy looping for l2 tag flush and elpg flush
operations. This is making total flash time more
accurate and reduced overall time compared with
usleep. Also added trace points to measure
performance for these operations.
Also corrected timeout error check for non-silicon
platforms.
Bug 200081799
Change-Id: I63410bb7528db9258501633996fbdee5fdec1c74
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/710472
(cherry picked from commit 18684cf9d5d6870a1a1fd5711c4fc2d733caad20)
Reviewed-on: http://git-master/r/710986
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_generic.c')
0 files changed, 0 insertions, 0 deletions