Signed-off-by: Guo Yejun <yejun....@intel.com>
---
 src/intel/intel_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/intel_driver.c b/src/intel/intel_driver.c
index ec2fb31..0766ca3 100644
--- a/src/intel/intel_driver.c
+++ b/src/intel/intel_driver.c
@@ -468,7 +468,7 @@ intel_driver_enlarge_stack_size(struct intel_driver *drv, 
int32_t *stack_size)
 {
     if (drv->gen_ver == 75)
       *stack_size = *stack_size * 4;
-    else if (drv->device_id == PCI_CHIP_BROXTON_1)
+    else if (drv->device_id == PCI_CHIP_BROXTON_1 || 
IS_CHERRYVIEW(drv->device_id))
       *stack_size = *stack_size * 2;
 }
 
-- 
2.7.4

_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to