[Mesa-dev] [st/va] change va max_entrypoints

Alex Deucher alexdeucher at gmail.com
Wed Jun 14 14:58:07 UTC 2017


On Wed, Jun 14, 2017 at 9:40 AM, Namburu, Chandu-babu <chandu at amd.com> wrote:
> From: Chandu Babu N <chandu at amd.com>
>
>
>
> As encode support is added along with decode,
>
> now max_entrypoints are two.
>
> vaMaxNumEntrypoints will return correct value.
>
>
>
> Signed-off-by: Chandu Babu N <chandu at amd.com>

This should probably got to stable as well.  Do you need someone to
commit this for you?

Alex

>
> ---
>
> src/gallium/state_trackers/va/context.c | 2 +-
>
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
>
> diff --git a/src/gallium/state_trackers/va/context.c
> b/src/gallium/state_trackers/va/context.c
>
> index ae9154a332..35be3d0745 100644
>
> --- a/src/gallium/state_trackers/va/context.c
>
> +++ b/src/gallium/state_trackers/va/context.c
>
> @@ -167,7 +167,7 @@ VA_DRIVER_INIT_FUNC(VADriverContextP ctx)
>
>     *ctx->vtable = vtable;
>
>     *ctx->vtable_vpp = vtable_vpp;
>
>     ctx->max_profiles = PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH -
> PIPE_VIDEO_PROFILE_UNKNOWN;
>
> -   ctx->max_entrypoints = 1;
>
> +   ctx->max_entrypoints = 2;
>
>     ctx->max_attributes = 1;
>
>     ctx->max_image_formats = VL_VA_MAX_IMAGE_FORMATS;
>
>     ctx->max_subpic_formats = 1;
>
> --
>
> 2.7.4
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list