summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 7459c57f..8f72522f 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -207,6 +207,13 @@ int gp106_init_gpu_characteristics(struct gk20a *g)
207 NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS | 207 NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS |
208 NVGPU_GPU_FLAGS_SUPPORT_SET_THERM_ALERT_LIMIT; 208 NVGPU_GPU_FLAGS_SUPPORT_SET_THERM_ALERT_LIMIT;
209 209
210 /* WAR for missing INA3221 on HW2.5 RevA */
211 if (g->power_sensor_missing) {
212 gpu->flags &= ~(NVGPU_GPU_FLAGS_SUPPORT_GET_VOLTAGE |
213 NVGPU_GPU_FLAGS_SUPPORT_GET_CURRENT |
214 NVGPU_GPU_FLAGS_SUPPORT_GET_POWER);
215 }
216
210 return 0; 217 return 0;
211} 218}
212 219