From 35969806d2c763d4a5662ba6a9233a63aa00352d Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Fri, 2 Dec 2016 10:45:09 -0800 Subject: gpu: nvgpu: gv11b: add clock gating prod settings JIRA GV11B-15 Change-Id: I38d8cbda33f9c4e8b44ca227cd5ea5fef346bfbd Signed-off-by: seshendra Gadagottu Reviewed-on: http://git-master/r/1266705 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h | 93 ++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h (limited to 'drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h') diff --git a/drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h b/drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h new file mode 100644 index 00000000..ba91a2a7 --- /dev/null +++ b/drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) 2016, NVIDIA Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include "gk20a/gk20a.h" + +void gv11b_slcg_bus_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_ce2_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_chiplet_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_ctxsw_firmware_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_fb_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_fifo_load_gating_prod(struct gk20a *g, + bool prod); + +void gr_gv11b_slcg_gr_load_gating_prod(struct gk20a *g, + bool prod); + +void ltc_gv11b_slcg_ltc_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_perf_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_priring_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_pwr_csb_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_pmu_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_therm_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_slcg_xbar_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_bus_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_ce_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_ctxsw_firmware_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_fb_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_fifo_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_gr_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_ltc_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_pwr_csb_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_pmu_load_gating_prod(struct gk20a *g, + bool prod); + +void gv11b_blcg_xbar_load_gating_prod(struct gk20a *g, + bool prod); + +void gr_gv11b_pg_gr_load_gating_prod(struct gk20a *g, + bool prod); + -- cgit v1.2.2 From d61643c0200983dc340d37962bb0a3ca900a3e97 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 25 Sep 2017 08:59:28 -0700 Subject: gpu: nvgpu: gv11b: Change license for common files to MIT Change license of OS independent source code files to MIT. JIRA NVGPU-218 Change-Id: I93c0504f0544ee8ced4898c386b3f5fbaa6a99a9 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1567804 Reviewed-by: svc-mobile-coverity Reviewed-by: David Martinez Nieto Reviewed-by: Seshendra Gadagottu Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h') diff --git a/drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h b/drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h index ba91a2a7..233189e0 100644 --- a/drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h +++ b/drivers/gpu/nvgpu/gv11b/gv11b_gating_reglist.h @@ -1,17 +1,23 @@ /* * Copyright (c) 2016, NVIDIA Corporation. All rights reserved. * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. + * 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: * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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" -- cgit v1.2.2