[Beignet] [PATCH] enlarge stack size for chv since its EU might be masked
Yang, Rong R
rong.r.yang at intel.com
Mon Sep 12 08:47:50 UTC 2016
LGTM, thanks.
> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Guo Yejun
> Sent: Monday, September 12, 2016 15:12
> To: beignet at lists.freedesktop.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [Beignet] [PATCH] enlarge stack size for chv since its EU might be
> masked
>
> 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
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list