From d0ea8fe969b2a8f7509621103c1ead83187b798b Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 19 Jun 2017 14:17:03 -0700 Subject: gpu: nvgpu: Merge tegra/linux to common/linux tegra/linux path was created to separate Tegra kernel specific dependencies from common Linux specific dependencies. The split has not really worked, so merge tegra/linux to common/linux. JIRA NVGPU-38 Change-Id: I582e12a0a8b5de62a29e41a37f4f8b8caae955fc Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1505178 Reviewed-by: Alex Waterman GVS: Gerrit_Virtual_Submit --- .../gpu/nvgpu/common/linux/platform_gp10b_tegra.h | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.h (limited to 'drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.h') diff --git a/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.h b/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.h new file mode 100644 index 00000000..74db60d1 --- /dev/null +++ b/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2017, 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 _PLATFORM_GP10B_TEGRA_H_ +#define _PLATFORM_GP10B_TEGRA_H_ + +#include "gp10b/gr_gp10b.h" + +int gr_gp10b_ecc_stat_create(struct device *dev, + int is_l2, + char *ecc_stat_name, + struct gk20a_ecc_stat *ecc_stat, + struct device_attribute **dev_attr_array); +int gp10b_ecc_stat_create(struct device *dev, + int hw_units, + char *ecc_unit_name, + char *ecc_stat_name, + struct gk20a_ecc_stat *ecc_stat, + struct device_attribute **dev_attr_array); + +void gr_gp10b_ecc_stat_remove(struct device *dev, + int is_l2, + struct gk20a_ecc_stat *ecc_stat, + struct device_attribute *dev_attr_array); + +void gp10b_ecc_stat_remove(struct device *dev, + int hw_units, + struct gk20a_ecc_stat *ecc_stat, + struct device_attribute *dev_attr_array); + +int gp10b_tegra_remove(struct device *dev); + +#endif -- cgit v1.2.2