From 76a96b7f0602dfec84f0c6e79cfec57e3d0845b0 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 22 Mar 2016 15:19:12 -0400
Subject: [PATCH] P4 to Git Change 1249992 by weizhang@weizhang-lnx-opencl on
2016/03/22 15:10:37
SWDEV-84070 - Extend the workaround submitted in CL#1242741 to GFX7 generation.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#163 edit
---
rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp b/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp
index 5b0797c967..a7e41fe387 100644
--- a/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp
+++ b/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp
@@ -351,7 +351,7 @@ CALGSLDevice::SetupAdapter(int32 &asic_id)
//and page-fault is not enabled for pre-VI, so we need to workaround
//the bug for ASICs in between.
if (asic_id < GSL_ATIASIC_ID_GREENLAND &&
- asic_id >= GSL_ATIASIC_ID_ICELAND_M)
+ asic_id >= GSL_ATIASIC_ID_BONAIRE_M)
{
m_isSDMAL2TConstrained = true;
}