[Mesa-dev] [PATCH] nvc0: maxwell has a new video engine, don't return a decoder object
Ben Skeggs
skeggsb at gmail.com
Sun May 18 18:06:50 PDT 2014
On Mon, May 19, 2014 at 12:16 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
> src/gallium/drivers/nouveau/nvc0/nvc0_video.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_video.c b/src/gallium/drivers/nouveau/nvc0/nvc0_video.c
> index 5871f59..c9ab13a 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_video.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_video.c
> @@ -77,6 +77,9 @@ nvc0_create_decoder(struct pipe_context *context,
> if (getenv("XVMC_VL"))
> return vl_create_decoder(context, templ);
>
> + if (screen->device->chipset >= 0x110)
> + return NULL;
Is that really necessary? It'll already fail because it tries to
create kepler's classes.
> +
> if (templ->entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) {
> debug_printf("%x\n", templ->entrypoint);
> return NULL;
> --
> 1.8.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list