From patchwork Tue Feb 26 17:04:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dafna Hirschfeld X-Patchwork-Id: 10830593 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6993517E6 for ; Tue, 26 Feb 2019 17:05:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D4E52D15F for ; Tue, 26 Feb 2019 17:05:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 417492D232; Tue, 26 Feb 2019 17:05:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE6232D15F for ; Tue, 26 Feb 2019 17:05:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728289AbfBZRFf (ORCPT ); Tue, 26 Feb 2019 12:05:35 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34499 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727981AbfBZRFf (ORCPT ); Tue, 26 Feb 2019 12:05:35 -0500 Received: by mail-wr1-f66.google.com with SMTP id f14so14812310wrg.1 for ; Tue, 26 Feb 2019 09:05:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Z1jDQ2uZhsiJD3Dk2zOYxfBXHk1iczGdhf5c/i9EnwA=; b=MiK+6BtxK5sDFnncnyj/GTJdm6dAj4WWzNDSpr2o0QOPgqicPycxurCLNXyDWQvUWi qd1PRXbYwPtfu8/DiANutrrZHDPTItsKxHYPdKZsGquBAsw0NnGOsIVZeIP8bHsTN+6t JWxNLDebanx00eoek51IsGvE64wIEKcdcjaMM5CvPih7t2uWK2N58hZg/h0t8zaWqAnH neSnChbFh9HnHyxMwdwN1883swqKn81KzyD1ONt2GiU6QaOPXmSDabtJ8fZ++zd6YJQ0 Lxguas8ajh5YKbmdEgSh/nnQ2F1E5YXxXuNw04Uash6amkAUn/05h5PBd3VnQoZZ/TnS vfRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Z1jDQ2uZhsiJD3Dk2zOYxfBXHk1iczGdhf5c/i9EnwA=; b=mZUVfhmyciCetpI5JjYqoR6YiXnJHCYd2knhAgDB2+0Qmsfbqz3Kbof5ewkfPEliEh h33iXEDoOOMMCRhTaoZUi4NI8vxkJLr3yWZMqBoB9HR9vQZ9aQfEZyblBQo/OxxMZ2hs jv541HF/FOtRmAgjHZUoBgsLqznYChpyzAx5PPIAruBmjLn0Pvyb7TYf60lyayf3SYPR pypjWAcOkEOoF4tLmD9mnmJf7oR13KVa/oel8ptC4B213AYE+0N4cxruUXzv+xos3ZM3 TRl/37XlTwljOIB4Hw4KNMiNXrQuSlItt4ebVQuw4uj5LLLVhwPUQPUl07E/wn5+viHU kZ+g== X-Gm-Message-State: AHQUAualO54OkqTAq/3KG+zmtkEUSKUFIyT8h9uFHMgWjc3AYR3XDYWX 8YWintPm4/3Kp5s7L3wph71kONwmTgg= X-Google-Smtp-Source: AHgI3IbtSTREZzJMf/iLycFgixdPrky/ARKpIgdo2vbGq9n9OeFVQLpv7orEj0ToIv/Qi+3yxm/NaQ== X-Received: by 2002:adf:ee01:: with SMTP id y1mr16799126wrn.268.1551200733238; Tue, 26 Feb 2019 09:05:33 -0800 (PST) Received: from ubuntu.home ([77.127.107.32]) by smtp.gmail.com with ESMTPSA id w4sm21024486wrk.85.2019.02.26.09.05.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 09:05:32 -0800 (PST) From: Dafna Hirschfeld To: linux-media@vger.kernel.org Cc: hverkuil@xs4all.nl, helen.koike@collabora.com, Hans Verkuil Subject: [PATCH v5 03/21] cedrus: set requires_requests Date: Tue, 26 Feb 2019 09:04:56 -0800 Message-Id: <20190226170514.86127-4-dafna3@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190226170514.86127-1-dafna3@gmail.com> References: <20190226170514.86127-1-dafna3@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hans Verkuil The cedrus stateless decoder requires the use of request, so indicate this by setting requires_requests to 1. Signed-off-by: Hans Verkuil --- drivers/staging/media/sunxi/cedrus/cedrus_video.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_video.c b/drivers/staging/media/sunxi/cedrus/cedrus_video.c index b47854b3bce4..9673874ece10 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus_video.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus_video.c @@ -536,6 +536,7 @@ int cedrus_queue_init(void *priv, struct vb2_queue *src_vq, src_vq->lock = &ctx->dev->dev_mutex; src_vq->dev = ctx->dev->dev; src_vq->supports_requests = true; + src_vq->requires_requests = true; ret = vb2_queue_init(src_vq); if (ret)