From d3de8e1096662d6e0865db5724e550e5f42a36fa Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 27 Jan 2017 02:06:12 +0100 Subject: gallium/vl: use the common uploader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Christian König Reviewed-by: Nicolai Hähnle Tested-by: Edmondo Tommasina Tested-by: Charmaine Lee --- src/gallium/state_trackers/va/context.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gallium/state_trackers/va/context.c') diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c index 357c9be9b81..d749e65308e 100644 --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/state_trackers/va/context.c @@ -230,10 +230,6 @@ vlVaCreateContext(VADriverContextP ctx, VAConfigID config_id, int picture_width, if (is_vpp) { context->decoder = NULL; - if (!drv->compositor.upload) { - FREE(context); - return VA_STATUS_ERROR_INVALID_CONTEXT; - } } else { context->templat.profile = config->profile; context->templat.entrypoint = config->entrypoint; -- cgit v1.2.3