From 054546525571dde1117376176f00511f13168f07 Mon Sep 17 00:00:00 2001 From: Vaikundanathan S Date: Mon, 23 Apr 2018 17:21:58 +0530 Subject: 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 Signed-off-by: Mahantesh Kumbar Reviewed-on: https://git-master.nvidia.com/r/1700788 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/nvgpu/include') 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 { struct nv_pmu_allocation request; }; +struct nv_pmu_clk_cmd_generic { + u8 cmd_type; + bool b_perf_daemon_cmd; + u8 pad[2]; +}; + #define NV_PMU_CLK_CMD_RPC_ALLOC_OFFSET \ (offsetof(struct nv_pmu_clk_cmd_rpc, request)) @@ -455,6 +461,7 @@ struct nv_pmu_clk_cmd { union { u8 cmd_type; struct nv_pmu_boardobj_cmd_grp grp_set; + struct nv_pmu_clk_cmd_generic generic; struct nv_pmu_clk_cmd_rpc rpc; struct nv_pmu_boardobj_cmd_grp grp_get_status; }; -- cgit v1.2.2