[Beignet] [PATCH] enlarge stack size for chv since its EU might be masked
Guo Yejun
yejun.guo at intel.com
Mon Sep 12 07:12:12 UTC 2016
Signed-off-by: Guo Yejun <yejun.guo at 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
More information about the Beignet
mailing list