diff options
author | Ville Syrjälä <[email protected]> | 2015-01-19 16:08:31 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2015-01-23 12:09:35 +0200 |
commit | 99754446abae254dab60f08a534cf3510ea25b0f (patch) | |
tree | 0c420222259d7f6b89ed62ff7e3d46539d7cce03 /src/mesa | |
parent | c8761c8559a006ab30c23963a3641fe05e9e070a (diff) |
i965: Fix max_wm_threads for CHV
Change max_wm_threads to match the spec on CHV. The max number of
threads in 3DSTATE_PS is always programmed to 64 and the hardware
internally scales that depending on the GT SKU. So this doesn't
change the max number of threads actually used, but it does affect
the scratch space calculation.
On CHV the old value was too small, so the amount of scratch space
allocated wasn't sufficient to satisfy the actual max number of
threads used.
Cc: [email protected]
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_device_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c index 65942c2bace..8c180a8ca31 100644 --- a/src/mesa/drivers/dri/i965/brw_device_info.c +++ b/src/mesa/drivers/dri/i965/brw_device_info.c @@ -239,7 +239,7 @@ static const struct brw_device_info brw_device_info_chv = { .has_llc = false, .max_vs_threads = 80, .max_gs_threads = 80, - .max_wm_threads = 102, + .max_wm_threads = 128, .urb = { .size = 128, .min_vs_entries = 64, |