summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2010-06-01 17:29:09 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2010-06-02 14:02:17 +0800
commit0b70cab5b493103fbefb25e98693517e0a77a574 (patch)
treef8e1ce1b14a1a90e477a5d4d8daefa2bb339aefe
parent1682a7e83b0bfc3ac51274301db295f53644e958 (diff)
downloadlibva-intel-driver-0b70cab5b493103fbefb25e98693517e0a77a574.tar.gz
libva-intel-driver-0b70cab5b493103fbefb25e98693517e0a77a574.tar.bz2
libva-intel-driver-0b70cab5b493103fbefb25e98693517e0a77a574.zip
i965_drv_video: [H.264] enlarge concurrent threads for ILDB
-rw-r--r--i965_avc_ildb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/i965_avc_ildb.c b/i965_avc_ildb.c
index a019cdb..f24b380 100644
--- a/i965_avc_ildb.c
+++ b/i965_avc_ildb.c
@@ -357,7 +357,11 @@ i965_avc_ildb_upload_constants(VADriverContextP ctx, struct decode_state *decode
assert(avc_ildb_context->curbe.bo->virtual);
root_input = avc_ildb_context->curbe.bo->virtual;
- root_input->max_concurrent_threads = 36; /* FIXME: ??? */
+ if (IS_IRONLAKE(i965->intel.device_id)) {
+ root_input->max_concurrent_threads = 76; /* 72 - 2 + 8 - 2 */
+ } else {
+ root_input->max_concurrent_threads = 54; /* 50 - 2 + 8 = 2 */
+ }
if (pic_param->pic_fields.bits.field_pic_flag)
root_input->picture_type = PICTURE_FIELD;