diff options
author | David Nieto <dmartineznie@nvidia.com> | 2016-08-26 23:20:02 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:49 -0500 |
commit | 41838fc2bb6135bdd87d080a1efda8403f6f2657 (patch) | |
tree | f05bbff1f7118ec3a8ee4947067007f9557c41af /drivers/gpu/nvgpu/clk/clk.h | |
parent | 455fc2806a06298831130d1adb617ddca48fabb1 (diff) |
gpu: nvgpu: gp106: MCLK P8/P5 sequences and API
Adds P5/P8 sequences and simple debugfs API to
change from P0->P5
JIRA DNVGPU-117
Change-Id: I5811a5bddd0e11074524cce421bff1e3d441228d
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1208655
(cherry picked from commit dd410a86263e2407e043743945cf09a77910d745)
Reviewed-on: http://git-master/r/1231035
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk.h')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk.h b/drivers/gpu/nvgpu/clk/clk.h index d638424f..e24aada2 100644 --- a/drivers/gpu/nvgpu/clk/clk.h +++ b/drivers/gpu/nvgpu/clk/clk.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #include "clk_domain.h" | 20 | #include "clk_domain.h" |
21 | #include "clk_prog.h" | 21 | #include "clk_prog.h" |
22 | #include "clk_vf_point.h" | 22 | #include "clk_vf_point.h" |
23 | #include "clk_mclk.h" | ||
23 | #include "gk20a/gk20a.h" | 24 | #include "gk20a/gk20a.h" |
24 | 25 | ||
25 | #define NV_PERF_DOMAIN_4X_CLOCK_DOMAIN_SKIP 0x10 | 26 | #define NV_PERF_DOMAIN_4X_CLOCK_DOMAIN_SKIP 0x10 |
@@ -33,6 +34,7 @@ struct clk_pmupstate { | |||
33 | struct clk_domains clk_domainobjs; | 34 | struct clk_domains clk_domainobjs; |
34 | struct clk_progs clk_progobjs; | 35 | struct clk_progs clk_progobjs; |
35 | struct clk_vf_points clk_vf_pointobjs; | 36 | struct clk_vf_points clk_vf_pointobjs; |
37 | struct clk_mclk_state clk_mclk; | ||
36 | }; | 38 | }; |
37 | 39 | ||
38 | struct clockentry { | 40 | struct clockentry { |