summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/mc_carveout_reg.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2014-08-06 17:27:51 -0400
committerIshan Mittal <imittal@nvidia.com>2015-05-18 01:49:45 -0400
commit603e28fbdc7ff42a21a3c10425dd21818c98e855 (patch)
treedc5a77ae977868f86cb67fdf3c77da4119647b88 /drivers/gpu/nvgpu/gm20b/mc_carveout_reg.h
parenteed15a6bb7f7dab9d4c445f82ae66b13407db986 (diff)
gpu: nvgpu: Use MC API for SECURITY_CARVEOUT2
This removes all direct access to the MC registers. This requires that the MC be loaded before the GPU. Bug 1540908 Change-Id: I90bcde62f65a0c0d73a2bbe92cbf4a980c671c7d Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/453653 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Supriya Sharatkumar <ssharatkumar@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/mc_carveout_reg.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/mc_carveout_reg.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mc_carveout_reg.h b/drivers/gpu/nvgpu/gm20b/mc_carveout_reg.h
deleted file mode 100644
index a9273a62..00000000
--- a/drivers/gpu/nvgpu/gm20b/mc_carveout_reg.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2 * GM20B MC registers used by ACR
3 *
4 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 */
15
16#ifndef _MC_CARVEOUT_REG_H_
17#define _MC_CARVEOUT_REG_H_
18
19#define MC_SECURITY_CARVEOUT2_BOM_0 0xc5c
20#define MC_SECURITY_CARVEOUT3_BOM_0 0xcac
21#define MC_ERR_GENERALIZED_CARVEOUT_STATUS_0 0xc00
22#endif /*_MC_CARVEOUT_REG_H_*/