mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: gp106: Add regops whitelists
Add regops whitelists for gp106. The whitelist is generated, and is the same for context switched and global registers. Bug 200239422 Change-Id: Ib6689956c191c8f346da8cc5c7e3791f105db4eb Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com> Reviewed-on: http://git-master/r/1243253 (cherry picked from commit 1bdc23c9f9aac7ba91a50b83397925237851f8db) Reviewed-on: http://git-master/r/1247645 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Deepak Nibade
parent
d1c722b194
commit
fd8555d54e
@@ -30,6 +30,7 @@ nvgpu-y += \
|
|||||||
$(nvgpu-t18x)/gp106/ltc_gp106.o \
|
$(nvgpu-t18x)/gp106/ltc_gp106.o \
|
||||||
$(nvgpu-t18x)/gp106/fb_gp106.o \
|
$(nvgpu-t18x)/gp106/fb_gp106.o \
|
||||||
$(nvgpu-t18x)/gp106/bios_gp106.o \
|
$(nvgpu-t18x)/gp106/bios_gp106.o \
|
||||||
|
$(nvgpu-t18x)/gp106/regops_gp106.o \
|
||||||
$(nvgpu-t18x)/clk/clk_mclk.o \
|
$(nvgpu-t18x)/clk/clk_mclk.o \
|
||||||
$(nvgpu-t18x)/pstate/pstate.o \
|
$(nvgpu-t18x)/pstate/pstate.o \
|
||||||
$(nvgpu-t18x)/clk/clk_vin.o \
|
$(nvgpu-t18x)/clk/clk_vin.o \
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
#include "gp10b/mm_gp10b.h"
|
#include "gp10b/mm_gp10b.h"
|
||||||
#include "gp10b/ce_gp10b.h"
|
#include "gp10b/ce_gp10b.h"
|
||||||
#include "gp106/fifo_gp106.h"
|
#include "gp106/fifo_gp106.h"
|
||||||
#include "gp10b/regops_gp10b.h"
|
#include "gp106/regops_gp106.h"
|
||||||
#include "gp10b/cde_gp10b.h"
|
#include "gp10b/cde_gp10b.h"
|
||||||
#include "gp106/therm_gp106.h"
|
#include "gp106/therm_gp106.h"
|
||||||
#include "gp106/xve_gp106.h"
|
#include "gp106/xve_gp106.h"
|
||||||
@@ -205,7 +205,7 @@ int gp106_init_hal(struct gk20a *g)
|
|||||||
gk20a_init_debug_ops(gops);
|
gk20a_init_debug_ops(gops);
|
||||||
gk20a_init_dbg_session_ops(gops);
|
gk20a_init_dbg_session_ops(gops);
|
||||||
gp106_init_clk_ops(gops);
|
gp106_init_clk_ops(gops);
|
||||||
gp10b_init_regops(gops);
|
gp106_init_regops(gops);
|
||||||
gp10b_init_cde_ops(gops);
|
gp10b_init_cde_ops(gops);
|
||||||
gk20a_init_tsg_ops(gops);
|
gk20a_init_tsg_ops(gops);
|
||||||
#if defined(CONFIG_GK20A_CYCLE_STATS)
|
#if defined(CONFIG_GK20A_CYCLE_STATS)
|
||||||
|
|||||||
1815
drivers/gpu/nvgpu/gp106/regops_gp106.c
Normal file
1815
drivers/gpu/nvgpu/gp106/regops_gp106.c
Normal file
File diff suppressed because it is too large
Load Diff
24
drivers/gpu/nvgpu/gp106/regops_gp106.h
Normal file
24
drivers/gpu/nvgpu/gp106/regops_gp106.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
* Tegra GP106 GPU Debugger Driver Register Ops
|
||||||
|
*
|
||||||
|
* 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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
#ifndef __REGOPS_GP106_H_
|
||||||
|
#define __REGOPS_GP106_H_
|
||||||
|
|
||||||
|
void gp106_init_regops(struct gpu_ops *gops);
|
||||||
|
|
||||||
|
#endif /* __REGOPS_GP106_H_ */
|
||||||
Reference in New Issue
Block a user