gpu: nvgpu: make clock arbiter lockless

Modification of the arbiter to remove all locking
from the arbiter callback and move the callbacks
out of the global queue

Adding modification to call for updated values of
vf table from arbiter init function and on
vf table update

JIRA: DNVGPU-170

Change-Id: I7a7d34c0590522901e06356c06fd8114ebf10f37
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1243212
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/1268009
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
David Nieto
2016-10-17 08:49:27 -07:00
committed by Deepak Nibade
parent c123d5056d
commit 5ab254c6e8
2 changed files with 563 additions and 368 deletions

View File

File diff suppressed because it is too large Load Diff

View File

@@ -149,10 +149,6 @@ int gk20a_init_pstate_pmu_support(struct gk20a *g)
if (err) if (err)
return err; return err;
err = clk_vf_point_cache(g);
if (err)
return err;
err = pmgr_domain_pmu_setup(g); err = pmgr_domain_pmu_setup(g);
return err; return err;
} }