diff options
author | Marek Olšák <[email protected]> | 2019-02-07 00:13:44 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-29 17:52:41 -0400 |
commit | 187cc07d0561311114fc4b3e1fc9951ff311735b (patch) | |
tree | 4a7357722ab8f0587080846d094b59a04a70664d /src/gallium/state_trackers/va | |
parent | ea7646dc13306e96188e7a7fd76e8a926bede13d (diff) |
gallium: create multimedia contexts as compute-only if graphics is unsupported
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va')
-rw-r--r-- | src/gallium/state_trackers/va/context.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c index 9176b7e8c5d..2cb3a6c9268 100644 --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/state_trackers/va/context.c @@ -151,8 +151,7 @@ VA_DRIVER_INIT_FUNC(VADriverContextP ctx) if (!drv->vscreen) goto error_screen; - drv->pipe = drv->vscreen->pscreen->context_create(drv->vscreen->pscreen, - NULL, 0); + drv->pipe = pipe_create_multimedia_context(drv->vscreen->pscreen); if (!drv->pipe) goto error_pipe; |