diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2014-03-04 09:08:34 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-04-23 13:24:45 +0800 |
commit | 276bc5319a8f1b7c0143bc68ba62ffdfe0aa02cd (patch) | |
tree | 81293a0f3d24d039cbad2ef94b2844f94e312efa | |
parent | 75a7b090e9784864d7bf567ea7d68b1c13b19922 (diff) | |
download | libva-intel-driver-276bc5319a8f1b7c0143bc68ba62ffdfe0aa02cd.tar.gz libva-intel-driver-276bc5319a8f1b7c0143bc68ba62ffdfe0aa02cd.tar.bz2 libva-intel-driver-276bc5319a8f1b7c0143bc68ba62ffdfe0aa02cd.zip |
bdw: Fix the FENCE message in GPU shader for H264 encoding
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)
-rw-r--r-- | src/shaders/vme/inter_bframe_gen8.asm | 2 | ||||
-rw-r--r-- | src/shaders/vme/inter_bframe_gen8.g8b | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/shaders/vme/inter_bframe_gen8.asm b/src/shaders/vme/inter_bframe_gen8.asm index f16a63b..240dc61 100644 --- a/src/shaders/vme/inter_bframe_gen8.asm +++ b/src/shaders/vme/inter_bframe_gen8.asm @@ -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, diff --git a/src/shaders/vme/inter_bframe_gen8.g8b b/src/shaders/vme/inter_bframe_gen8.g8b index 98531a3..f981ca3 100644 --- a/src/shaders/vme/inter_bframe_gen8.g8b +++ b/src/shaders/vme/inter_bframe_gen8.g8b @@ -358,7 +358,7 @@ { 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 }, @@ -411,7 +411,7 @@ { 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 }, |