summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index 0df80a94..649e32bb 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -11,12 +11,7 @@
11 * more details. 11 * more details.
12 */ 12 */
13 13
14#ifdef CONFIG_DEBUG_FS
15#include <linux/debugfs.h>
16#endif
17
18#include <nvgpu/types.h> 14#include <nvgpu/types.h>
19#include <linux/platform/tegra/mc.h>
20 15
21#include <nvgpu/dma.h> 16#include <nvgpu/dma.h>
22#include <nvgpu/gmmu.h> 17#include <nvgpu/gmmu.h>
@@ -83,13 +78,7 @@ static void start_gm20b_pmu(struct gk20a *g)
83 78
84void gm20b_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf) 79void gm20b_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf)
85{ 80{
86 struct mc_carveout_info mem_inf; 81 g->ops.fb.read_wpr_info(g, inf);
87
88 mc_get_carveout_info(&mem_inf, NULL, MC_SECURITY_CARVEOUT2);
89
90 inf->wpr_base = mem_inf.base;
91 inf->nonwpr_base = 0;
92 inf->size = mem_inf.size;
93} 82}
94 83
95bool gm20b_is_pmu_supported(struct gk20a *g) 84bool gm20b_is_pmu_supported(struct gk20a *g)