• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revision911a9132d6d08de74b5da63a1e26077e75de320f (tree)
Time2010-06-02 15:02:17
AuthorXiang, Haihao <haihao.xiang@inte...>
CommiterXiang, Haihao

Log Message

i965_drv_video: [H.264] enlarge concurrent threads for ILDB

Change Summary

Incremental Difference

--- 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
357357 assert(avc_ildb_context->curbe.bo->virtual);
358358 root_input = avc_ildb_context->curbe.bo->virtual;
359359
360- root_input->max_concurrent_threads = 36; /* FIXME: ??? */
360+ if (IS_IRONLAKE(i965->intel.device_id)) {
361+ root_input->max_concurrent_threads = 76; /* 72 - 2 + 8 - 2 */
362+ } else {
363+ root_input->max_concurrent_threads = 54; /* 50 - 2 + 8 = 2 */
364+ }
361365
362366 if (pic_param->pic_fields.bits.field_pic_flag)
363367 root_input->picture_type = PICTURE_FIELD;