diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-02-28 15:12:38 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-01 16:46:43 -0500 |
commit | 2cc03def6a6427acdebd8a6053b1309280e5fe9b (patch) | |
tree | 4031336bf5aa0457ece4695d397a6c3b293c85fa /drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h | |
parent | 207e2ac7d12e62df476f4828136a4c15e156f8a6 (diff) |
gpu: nvgpu: gv11b: update headers
generate headers for pri ring, pbdma intr and gmmu
with updated reg generator
JIRA GV11B-47
JIRA GV11B-7
Change-Id: Id198fb338c03acc52c523754cfd07db01ff9bffd
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1312756
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h index 1c523f87..dc8473a5 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -1274,6 +1274,26 @@ static inline u32 gmmu_pte_kind_s8_2s_v(void) | |||
1274 | { | 1274 | { |
1275 | return 0x0000002b; | 1275 | return 0x0000002b; |
1276 | } | 1276 | } |
1277 | static inline u32 gmmu_fault_client_type_gpc_v(void) | ||
1278 | { | ||
1279 | return 0x00000000; | ||
1280 | } | ||
1281 | static inline u32 gmmu_fault_client_type_hub_v(void) | ||
1282 | { | ||
1283 | return 0x00000001; | ||
1284 | } | ||
1285 | static inline u32 gmmu_fault_type_unbound_inst_block_v(void) | ||
1286 | { | ||
1287 | return 0x00000004; | ||
1288 | } | ||
1289 | static inline u32 gmmu_fault_mmu_eng_id_bar2_v(void) | ||
1290 | { | ||
1291 | return 0x00000005; | ||
1292 | } | ||
1293 | static inline u32 gmmu_fault_mmu_eng_id_physical_v(void) | ||
1294 | { | ||
1295 | return 0x0000001f; | ||
1296 | } | ||
1277 | static inline u32 gmmu_fault_buf_size_v(void) | 1297 | static inline u32 gmmu_fault_buf_size_v(void) |
1278 | { | 1298 | { |
1279 | return 0x00000020; | 1299 | return 0x00000020; |