BDW: Set the URB/REST size to 384K/384K when SLM disable.
authorYang Rong <rong.r.yang@intel.com>
Fri, 7 Nov 2014 07:02:38 +0000 (15:02 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 7 Nov 2014 07:30:50 +0000 (15:30 +0800)
commit54594b626c31a68956af97f69dc29132dc545f7c
treebaf6670839764949d9e72b61c15b22f2f5ba3289
parent56aaa7ed21b653d39216caeafb7559fba20e86a8
BDW: Set the URB/REST size to 384K/384K when SLM disable.

If application switch between SLM enable and disable, will cause random fail.
The fail occure only when URB/REST partition changed when enable and disable SLM.
Set the same REST size when disable SLM to workaround.

Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Tested-by: Meng Mengmeng <mengmeng.meng@intel.com>
src/intel/intel_gpgpu.c