summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2017-12-14 12:24:45 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-12-20 21:34:51 -0500
commitc16744bed5254395d28c188e1571f0846c7f2afa (patch)
tree9465c7fb732fa87ea3e67c05fd27db6faca2d46d /src/usr/htmgt
parenta69cb64611f39c3320e71a025cc612690305926d (diff)
downloadtalos-hostboot-c16744bed5254395d28c188e1571f0846c7f2afa.tar.gz
talos-hostboot-c16744bed5254395d28c188e1571f0846c7f2afa.zip
HTMGT: Mark GPU as functional when present
Change-Id: I61d4d5b053424659cfda106a8a4ce1989ba4ca06 CQ: SW408506 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50951 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt')
-rw-r--r--src/usr/htmgt/htmgt_occ.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/htmgt/htmgt_occ.C b/src/usr/htmgt/htmgt_occ.C
index 686a8338b..3a4274fa2 100644
--- a/src/usr/htmgt/htmgt_occ.C
+++ b/src/usr/htmgt/htmgt_occ.C
@@ -386,11 +386,11 @@ namespace HTMGT
SENSOR::StatusSensor::NOT_PRESENT
};
if (iv_gpuCfg & GPUCFG_GPU0_PRESENT)
- gpu_status[0] = SENSOR::StatusSensor::PRESENT;
+ gpu_status[0] = SENSOR::StatusSensor::PRESENT_FUNCTIONAL;
if (iv_gpuCfg & GPUCFG_GPU1_PRESENT)
- gpu_status[1] = SENSOR::StatusSensor::PRESENT;
+ gpu_status[1] = SENSOR::StatusSensor::PRESENT_FUNCTIONAL;
if (iv_gpuCfg & GPUCFG_GPU2_PRESENT)
- gpu_status[2] = SENSOR::StatusSensor::PRESENT;
+ gpu_status[2] = SENSOR::StatusSensor::PRESENT_FUNCTIONAL;
TMGT_INF("updateGpuPresence: OCC%d - GPU0:%d, GPU1:%d, GPU2:%d",
iv_instance, gpu_status[0], gpu_status[1], gpu_status[2]);
OpenPOWER on IntegriCloud