[Libva] [PATCH Intel-vaapi 1/3] bdw: Fix the FENCE message in GPU shader for H264 encoding

Zhao Yakui yakui.zhao at intel.com
Mon Mar 3 17:16:51 PST 2014


On Fri, 2014-02-28 at 01:09 -0700, Zhao, Yakui wrote:
> From: Zhao Yakui <yakui.zhao at intel.com>

This will be pushed.

Thanks.
    Yakui
> 
> 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 at intel.com>
> ---
>  src/shaders/vme/inter_bframe_gen8.asm | 2 +-
>  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 },




More information about the Libva mailing list