diff options
author | Vaikundanathan S <vaikuns@nvidia.com> | 2018-04-23 07:51:58 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:06 -0400 |
commit | 054546525571dde1117376176f00511f13168f07 (patch) | |
tree | 477c3ef6d9502ce584f2588e0240a8fbd93be2a5 /drivers/gpu/nvgpu/include | |
parent | 14d8430697d6867325fc1f40eef820cca40c3d2f (diff) |
gpu: nvgpu: set gv10x boot clock
- Set gv10x boot gpcclk to 952 MHz
- Created ops to set gv10x boot gpcclk instead
of using clk arbiter to set clocks
Bug 200399373
Change-Id: Ice5956f79d4a52abf455506a798cf7b914f3d3ed
Signed-off-by: Vaikundanathan S <vaikuns@nvidia.com>
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1700788
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h index 471892ca..fe9a70db 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h +++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h | |||
@@ -448,6 +448,12 @@ struct nv_pmu_clk_cmd_rpc { | |||
448 | struct nv_pmu_allocation request; | 448 | struct nv_pmu_allocation request; |
449 | }; | 449 | }; |
450 | 450 | ||
451 | struct nv_pmu_clk_cmd_generic { | ||
452 | u8 cmd_type; | ||
453 | bool b_perf_daemon_cmd; | ||
454 | u8 pad[2]; | ||
455 | }; | ||
456 | |||
451 | #define NV_PMU_CLK_CMD_RPC_ALLOC_OFFSET \ | 457 | #define NV_PMU_CLK_CMD_RPC_ALLOC_OFFSET \ |
452 | (offsetof(struct nv_pmu_clk_cmd_rpc, request)) | 458 | (offsetof(struct nv_pmu_clk_cmd_rpc, request)) |
453 | 459 | ||
@@ -455,6 +461,7 @@ struct nv_pmu_clk_cmd { | |||
455 | union { | 461 | union { |
456 | u8 cmd_type; | 462 | u8 cmd_type; |
457 | struct nv_pmu_boardobj_cmd_grp grp_set; | 463 | struct nv_pmu_boardobj_cmd_grp grp_set; |
464 | struct nv_pmu_clk_cmd_generic generic; | ||
458 | struct nv_pmu_clk_cmd_rpc rpc; | 465 | struct nv_pmu_clk_cmd_rpc rpc; |
459 | struct nv_pmu_boardobj_cmd_grp grp_get_status; | 466 | struct nv_pmu_boardobj_cmd_grp grp_get_status; |
460 | }; | 467 | }; |