hardware/intel/libva
Revision | 911a9132d6d08de74b5da63a1e26077e75de320f (tree) |
---|---|
Time | 2010-06-02 15:02:17 |
Author | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
i965_drv_video: [H.264] enlarge concurrent threads for ILDB
@@ -357,7 +357,11 @@ i965_avc_ildb_upload_constants(VADriverContextP ctx, struct decode_state *decode | ||
357 | 357 | assert(avc_ildb_context->curbe.bo->virtual); |
358 | 358 | root_input = avc_ildb_context->curbe.bo->virtual; |
359 | 359 | |
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 | + } | |
361 | 365 | |
362 | 366 | if (pic_param->pic_fields.bits.field_pic_flag) |
363 | 367 | root_input->picture_type = PICTURE_FIELD; |