summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorDavid Nieto <dmartineznie@nvidia.com>2017-05-18 19:50:57 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-24 07:55:59 -0400
commit05388ad24a61c43a110e3d235622c23a356b5df7 (patch)
tree98e4eacd09571d8575a49977e268c3410a0e6834 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent94226c9c1ed67be2dd146648b0460ef7346a2900 (diff)
gpu: nvgpu: re-arrange parity counters
(1) Re-arrange the structure for parity counters reporting so multiple units can be managed JIRA: GPUT19X-84 Change-Id: If59a883dfe22d5a1d91a6d0ed2f5a6254434ffcb Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: http://git-master/r/1485276 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index cca414a2..68c10284 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -29,6 +29,7 @@ struct gk20a_ctxsw_trace;
29struct acr_desc; 29struct acr_desc;
30struct nvgpu_mem_alloc_tracker; 30struct nvgpu_mem_alloc_tracker;
31struct dbg_profiler_object_data; 31struct dbg_profiler_object_data;
32struct ecc_gk20a;
32 33
33#include <linux/sched.h> 34#include <linux/sched.h>
34#include <nvgpu/lock.h> 35#include <nvgpu/lock.h>
@@ -69,6 +70,7 @@ struct dbg_profiler_object_data;
69#include "pmgr/pmgr.h" 70#include "pmgr/pmgr.h"
70#include "therm/thrm.h" 71#include "therm/thrm.h"
71#endif 72#endif
73#include "ecc_gk20a.h"
72 74
73#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) 75#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0)
74#define WRITE_ONCE(x, val) \ 76#define WRITE_ONCE(x, val) \
@@ -991,6 +993,7 @@ struct gk20a {
991 struct mm_gk20a mm; 993 struct mm_gk20a mm;
992 struct pmu_gk20a pmu; 994 struct pmu_gk20a pmu;
993 struct acr_desc acr; 995 struct acr_desc acr;
996 struct ecc_gk20a ecc;
994 struct cooling_device_gk20a gk20a_cdev; 997 struct cooling_device_gk20a gk20a_cdev;
995#ifdef CONFIG_ARCH_TEGRA_18x_SOC 998#ifdef CONFIG_ARCH_TEGRA_18x_SOC
996 struct clk_pmupstate clk_pmu; 999 struct clk_pmupstate clk_pmu;