From dffeea5deb9754686e60eafec5194b7bf7bb4e77 Mon Sep 17 00:00:00 2001 From: Vinod G Date: Thu, 17 May 2018 14:43:51 -0700 Subject: gpu: nvgpu: Code updates for MISRA violations As part of the MISRA fixes, moving all the gating_reglist files to common/clock_gating dir, the new directory structure suggested to follow. Removed unused gating_reglist files for gk20a JIRA NVGPU-646 Change-Id: I388855befcf991ee68eeffed10fe9ac456210649 Signed-off-by: Vinod G Reviewed-on: https://git-master.nvidia.com/r/1722330 Reviewed-by: mobile promotions Tested-by: mobile promotions --- .../common/clock_gating/gv100_gating_reglist.h | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h (limited to 'drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h') diff --git a/drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h b/drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h new file mode 100644 index 00000000..fa231d26 --- /dev/null +++ b/drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h @@ -0,0 +1,99 @@ +/* + * Copyright (c) 2018, NVIDIA Corporation. All rights reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ + +#include "gk20a/gk20a.h" + +void gv100_slcg_bus_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_ce2_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_chiplet_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_ctxsw_firmware_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_fb_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_fifo_load_gating_prod(struct gk20a *g, + bool prod); + +void gr_gv100_slcg_gr_load_gating_prod(struct gk20a *g, + bool prod); + +void ltc_gv100_slcg_ltc_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_perf_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_priring_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_pwr_csb_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_pmu_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_therm_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_slcg_xbar_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_bus_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_ce_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_ctxsw_firmware_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_fb_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_fifo_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_gr_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_ltc_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_pwr_csb_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_pmu_load_gating_prod(struct gk20a *g, + bool prod); + +void gv100_blcg_xbar_load_gating_prod(struct gk20a *g, + bool prod); + +void gr_gv100_pg_gr_load_gating_prod(struct gk20a *g, + bool prod); + -- cgit v1.2.2