From fd8555d54e8499f1430ed9c9d1658da177fb30d4 Mon Sep 17 00:00:00 2001 From: Peter Daifuku Date: Wed, 26 Oct 2016 10:55:30 -0700 Subject: 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 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 --- drivers/gpu/nvgpu/gp106/regops_gp106.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 drivers/gpu/nvgpu/gp106/regops_gp106.h (limited to 'drivers/gpu/nvgpu/gp106/regops_gp106.h') diff --git a/drivers/gpu/nvgpu/gp106/regops_gp106.h b/drivers/gpu/nvgpu/gp106/regops_gp106.h new file mode 100644 index 00000000..7f6b6861 --- /dev/null +++ b/drivers/gpu/nvgpu/gp106/regops_gp106.h @@ -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 . + */ +#ifndef __REGOPS_GP106_H_ +#define __REGOPS_GP106_H_ + +void gp106_init_regops(struct gpu_ops *gops); + +#endif /* __REGOPS_GP106_H_ */ -- cgit v1.2.2