summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2010-06-10 10:50:39 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2010-06-13 14:49:15 +0800
commitc6daf0ba2423a7b344c789c3833ad1a540d94a61 (patch)
treecf8b5413dfe85f97da545f704354a786e152330f
parenta6d67235774b9bae5cca98b9d3f4182806df72b0 (diff)
i965_drv_video: [H.264] fix register blocks for ILDB1.0.3
-rw-r--r--i965_avc_ildb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i965_avc_ildb.c b/i965_avc_ildb.c
index 9cdfc53..a053062 100644
--- a/i965_avc_ildb.c
+++ b/i965_avc_ildb.c
@@ -283,7 +283,7 @@ i965_avc_ildb_interface_descriptor_table(VADriverContextP ctx)
for (i = 0; i < NUM_AVC_ILDB_INTERFACES; i++) {
int kernel_offset = avc_ildb_kernel_offset[i];
memset(desc, 0, sizeof(*desc));
- desc->desc0.grf_reg_blocks = 9;
+ desc->desc0.grf_reg_blocks = 7;
desc->desc0.kernel_start_pointer = (h264_avc_kernels[H264_AVC_COMBINED].bo->offset + kernel_offset) >> 6; /* reloc */
desc->desc1.const_urb_entry_read_offset = 0;
desc->desc1.const_urb_entry_read_len = ((i == AVC_ILDB_ROOT_Y_ILDB_FRAME ||