[Libva] [PATCH 1/8] Fix the incorrect sampler_state offset for INTERFACE_DESCRIPTOR_DATA on BDW+

Sean V Kelley sean.v.kelley at intel.com
Thu Nov 10 22:31:24 UTC 2016


Hi Yakui,

Could you please submit a cover/overview for this 10bit work?

Thanks,

Sean


On Wed, Nov 9, 2016 at 11:39 AM, Zhao Yakui <yakui.zhao at intel.com> wrote:
> Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
> ---
>  src/i965_gpe_utils.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/i965_gpe_utils.c b/src/i965_gpe_utils.c
> index 3ec164d..a29237b 100644
> --- a/src/i965_gpe_utils.c
> +++ b/src/i965_gpe_utils.c
> @@ -1684,7 +1684,7 @@ gen8_gpe_setup_interface_data(VADriverContextP ctx,
>          memset(desc, 0, sizeof(*desc));
>          desc->desc0.kernel_start_pointer = kernel->kernel_offset >> 6;
>          desc->desc3.sampler_count = 0;
> -        desc->desc3.sampler_state_pointer = gpe_context->sampler_offset;
> +        desc->desc3.sampler_state_pointer = (gpe_context->sampler_offset >> 5);
>          desc->desc4.binding_table_entry_count = 0;
>          desc->desc4.binding_table_pointer = (gpe_context->surface_state_binding_table.binding_table_offset >> 5);
>          desc->desc5.constant_urb_entry_read_offset = 0;
> --
> 2.8.3
>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libva



-- 
Sean V. Kelley <sean.v.kelley at intel.com>
Open Source Technology Center / SSG
Intel Corp.


More information about the Libva mailing list