[Mesa-dev] [PATCH] nvc0: maxwell has a new video engine, don't return a decoder object
Ilia Mirkin
imirkin at alum.mit.edu
Sun May 18 07:16:17 PDT 2014
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;
+
if (templ->entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) {
debug_printf("%x\n", templ->entrypoint);
return NULL;
--
1.8.5.5
More information about the mesa-dev
mailing list