diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-05-01 18:31:00 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-12 13:19:52 -0400 |
commit | a8cf64019f74dd05626a911af3df079efd9c7c89 (patch) | |
tree | b88b450a989a13cb4cbd0f831cd7add30c4ef0c4 /drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h | |
parent | 5a4926f2918b84fccefb8ddf6dbaa7b6449735bf (diff) |
gpu: nvgpu: Introduce priv ring HAL and define ISR
Introduce a priv ring HAL and define ISR as the only function in it.
Introduce a gp10b version of the ISR that writes error message to
UART for every priv ring error, and leave the old chips with silent
error handling.
Bug 1846641
Change-Id: I73e38396205ac7bb7b8488b7fbca3ff67a3db3bb
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1473696
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h b/drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h new file mode 100644 index 00000000..acd0857f --- /dev/null +++ b/drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * GP10B PRIV ringmaster | ||
3 | * | ||
4 | * Copyright (c) 2011-2017, 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 | #ifndef __PRIV_RING_GP10B_H__ | ||
16 | #define __PRIV_RING_GP10B_H__ | ||
17 | |||
18 | struct gpu_ops; | ||
19 | |||
20 | void gp10b_init_priv_ring(struct gpu_ops *gops); | ||
21 | |||
22 | #endif /*__PRIV_RING_GP10B_H__*/ | ||