diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-10-30 18:57:28 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-01 18:26:37 -0400 |
commit | a5e76ed7af2ffd496d23129f8f3d989335f8b21c (patch) | |
tree | bba04c7954054266f7771b931befba3820685be7 /drivers/gpu/nvgpu/gp106/hal_gp106.c | |
parent | 7e59e0b09b605c4082fb812fb0842537819282cf (diff) |
gpu: nvgpu: Remove pg419 emulation on pg418
Remove emulation of pg419 board with a pg418 which does not have
a power sensor, but claims to have one in VBIOS.
JIRA NVGPU-259
Change-Id: I6527d08dd05b79f96e505561685504bb239ab4ac
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1588732
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index c5b66201..3193a629 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -202,13 +202,6 @@ static int gp106_init_gpu_characteristics(struct gk20a *g) | |||
202 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_DEVICE_EVENTS, true); | 202 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_DEVICE_EVENTS, true); |
203 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_SET_THERM_ALERT_LIMIT, true); | 203 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_SET_THERM_ALERT_LIMIT, true); |
204 | 204 | ||
205 | /* WAR for missing INA3221 on HW2.5 RevA */ | ||
206 | if (g->power_sensor_missing) { | ||
207 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_GET_VOLTAGE, false); | ||
208 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_GET_CURRENT, false); | ||
209 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_GET_POWER, false); | ||
210 | } | ||
211 | |||
212 | return 0; | 205 | return 0; |
213 | } | 206 | } |
214 | 207 | ||