summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
index 2d8c2bd7..4bdbda43 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
@@ -252,6 +252,10 @@ struct gk20a_platform {
252 * power limits 252 * power limits
253 */ 253 */
254 bool hardcode_sw_threshold; 254 bool hardcode_sw_threshold;
255
256 /* i2c device index and address for INA3221 */
257 u32 ina3221_dcb_index;
258 u32 ina3221_i2c_address;
255}; 259};
256 260
257static inline struct gk20a_platform *gk20a_get_platform( 261static inline struct gk20a_platform *gk20a_get_platform(