bdw: Fix the FENCE message in GPU shader for H264 encoding
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 4 Mar 2014 01:08:34 +0000 (09:08 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 23 Apr 2014 05:24:45 +0000 (13:24 +0800)
Use the real register as write_back register instead of NULL register
although the Fence Message doesn't touch it.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 7ac4263ff2dae5c877b92356d04df4ccfe10d7c9)

src/shaders/vme/inter_bframe_gen8.asm
src/shaders/vme/inter_bframe_gen8.g8b

index f16a63b..240dc61 100644 (file)
@@ -766,7 +766,7 @@ send (16)
 /* Issue message fence so that the previous write message is committed */
 send (16)
         mb_ind
-        obw_wb
+        mb_wb.0<1>:ud
        NULL
         data_port(
                 OBR_CACHE_TYPE,
index 98531a3..f981ca3 100644 (file)
    { 0x00600001, 0x28000208, 0x008d0480, 0x00000000 },
    { 0x00600001, 0x28200208, 0x008d0240, 0x00000000 },
    { 0x0a800031, 0x20000a60, 0x0e000800, 0x040a0203 },
-   { 0x0a800031, 0x20000a60, 0x0e000b40, 0x0219e003 },
+   { 0x0a800031, 0x2b600a08, 0x0e000b40, 0x0219e003 },
    { 0x00600001, 0x2e000208, 0x008d0000, 0x00000000 },
    { 0x07800031, 0x24000a40, 0x0e000e00, 0x82000010 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00000005, 0x2fe41248, 0x16000f70, 0x00030003 },
    { 0x00000020, 0x34000000, 0x0e001400, 0x000000a0 },
    { 0x00000001, 0x2f681248, 0x00000fa8, 0x00000000 },
-   { 0x05000010, 0x20001240, 0x16000f68, 0x00020002 },
+   { 0x05000010, 0x20001a60, 0x1e000f68, 0x00020002 },
    { 0x00010005, 0x2fe41248, 0x16000f60, 0x00030003 },
    { 0x00010020, 0x34000000, 0x0e001400, 0x00000060 },
    { 0x00000008, 0x2f701248, 0x16000f60, 0x00020002 },