[Libva] [PATCH] i965: Remove duplicate check on platform in hybrid codec proxy

Xiang, Haihao haihao.xiang at intel.com
Mon Sep 14 19:11:04 PDT 2015


Applied.

Thanks
Haihao

> Check is made in hybrid driver for respectve platforms.
> 
> Signed-off-by: Sean V Kelley <seanvk at posteo.de>
> ---
>  src/i965_drv_video.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
> index 62f934f..92e7806 100644
> --- a/src/i965_drv_video.c
> +++ b/src/i965_drv_video.c
> @@ -6197,12 +6197,6 @@ i965_initialize_wrapper(VADriverContextP ctx, const char *driver_name)
>      VAStatus va_status = VA_STATUS_SUCCESS;
>      bool driver_loaded = false;
>  
> -    if (!(IS_HASWELL(i965->intel.device_info) ||
> -          IS_GEN8(i965->intel.device_info) ||
> -          IS_GEN9(i965->intel.device_info))) {
> -        return VA_STATUS_ERROR_UNIMPLEMENTED;
> -    }
> -
>      wrapper_pdrvctx = calloc(1, sizeof(*wrapper_pdrvctx));
>      vtable = calloc(1, sizeof(*vtable));
>  




More information about the Libva mailing list