diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_acr.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_acr.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_acr.h index 2d31207f..bc3b1056 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_acr.h +++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_acr.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -110,4 +110,25 @@ struct pmu_acr_msg { | |||
110 | }; | 110 | }; |
111 | }; | 111 | }; |
112 | 112 | ||
113 | /* ACR RPC */ | ||
114 | #define NV_PMU_RPC_ID_ACR_INIT_WPR_REGION 0x00 | ||
115 | #define NV_PMU_RPC_ID_ACR_WRITE_CBC_BASE 0x01 | ||
116 | #define NV_PMU_RPC_ID_ACR_BOOTSTRAP_FALCON 0x02 | ||
117 | #define NV_PMU_RPC_ID_ACR_BOOTSTRAP_GR_FALCONS 0x03 | ||
118 | #define NV_PMU_RPC_ID_ACR__COUNT 0x04 | ||
119 | |||
120 | /* | ||
121 | * structure that holds data used | ||
122 | * to execute INIT_WPR_REGION RPC. | ||
123 | */ | ||
124 | struct nv_pmu_rpc_struct_acr_init_wpr_region { | ||
125 | /*[IN/OUT] Must be first field in RPC structure */ | ||
126 | struct nv_pmu_rpc_header hdr; | ||
127 | /*[IN] ACR region ID of WPR region */ | ||
128 | u32 wpr_regionId; | ||
129 | /* [IN] WPR offset from startAddress */ | ||
130 | u32 wpr_offset; | ||
131 | u32 scratch[1]; | ||
132 | }; | ||
133 | |||
113 | #endif /* _GPMUIFACR_H_ */ | 134 | #endif /* _GPMUIFACR_H_ */ |