diff options
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_screen.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 0cbee5d677b..1f52594abbd 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -27,6 +27,8 @@ #include "nv50_context.h" #include "nv50_screen.h" +#include "nouveau/nouveau_vp3_video.h" + #include "nouveau/nv_object.xml.h" #include <errno.h> @@ -657,8 +659,9 @@ nv50_screen_create(struct nouveau_device *dev) screen->base.base.get_video_param = nv84_screen_get_video_param; screen->base.base.is_video_format_supported = nv84_screen_video_supported; } else { - /* Unsupported, but need to init pointers. */ - nouveau_screen_init_vdec(&screen->base); + /* VP3/4 */ + screen->base.base.get_video_param = nouveau_vp3_screen_get_video_param; + screen->base.base.is_video_format_supported = nouveau_vp3_screen_video_supported; } ret = nouveau_bo_new(dev, NOUVEAU_BO_GART | NOUVEAU_BO_MAP, 0, 4096, |