projects
/
platform
/
upstream
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d7a2ce
)
i965_drv_video: [H.264] enlarge concurrent threads for ILDB
author
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 1 Jun 2010 09:29:09 +0000
(17:29 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 2 Jun 2010 06:02:17 +0000
(14:02 +0800)
i965_drv_video/i965_avc_ildb.c
patch
|
blob
|
history
diff --git
a/i965_drv_video/i965_avc_ildb.c
b/i965_drv_video/i965_avc_ildb.c
index
a019cdb
..
f24b380
100644
(file)
--- a/
i965_drv_video/i965_avc_ildb.c
+++ b/
i965_drv_video/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;