Fix the length of writeback message for Inter frame
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 10 Apr 2012 01:39:47 +0000 (09:39 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 10 Apr 2012 01:39:47 +0000 (09:39 +0800)
A GRF register consists of two OWords

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/shaders/utils/mfc_batchbuffer.inc
src/shaders/utils/mfc_batchbuffer_avc_inter.g6b
src/shaders/utils/mfc_batchbuffer_avc_inter.g7b

index b6a2b3a..efebb0e 100644 (file)
@@ -169,7 +169,7 @@ define(`ob_read_wb7',           `r23')
 
 define(`ob_read_wb_len_slice_header',   `1')
 define(`ob_read_wb_len_vme_intra',      `1')
-define(`ob_read_wb_len_vme_inter',      `2')
+define(`ob_read_wb_len_vme_inter',      `1')
 
 #ifdef DEV_SNB
 
index b88bfca..ef83a16 100644 (file)
@@ -25,7 +25,7 @@
    { 0x00000001, 0x23540061, 0x00000000, 0x000f000f },
    { 0x01000005, 0x20002d28, 0x020000ac, 0x00020002 },
    { 0x00600001, 0x20000022, 0x008d0100, 0x00000000 },
-   { 0x05800031, 0x22001cc9, 0x00000000, 0x022a0200 },
+   { 0x05800031, 0x22001cc9, 0x00000000, 0x021a0200 },
    { 0x00000001, 0x23440021, 0x00000208, 0x00000000 },
    { 0x00000001, 0x234c0021, 0x00000200, 0x00000000 },
    { 0x00000040, 0x23500d21, 0x000000b0, 0xffff0000 },
index be910ba..a780e16 100644 (file)
@@ -25,7 +25,7 @@
    { 0x00000001, 0x23540061, 0x00000000, 0x000f000f },
    { 0x01000005, 0x20002d28, 0x020000ac, 0x00020002 },
    { 0x00600001, 0x28000021, 0x008d0100, 0x00000000 },
-   { 0x0a800031, 0x22001ca9, 0x00000800, 0x02280200 },
+   { 0x0a800031, 0x22001ca9, 0x00000800, 0x02180200 },
    { 0x00000001, 0x23440021, 0x00000208, 0x00000000 },
    { 0x00000001, 0x234c0021, 0x00000200, 0x00000000 },
    { 0x00000040, 0x23500d21, 0x000000b0, 0xffff0000 },