From patchwork Wed Jul 31 16:44:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Emmanuel Gil Peyrot X-Patchwork-Id: 816181 Received: from luna.linkmauve.fr (luna.linkmauve.fr [82.65.109.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 193AC1773A; Wed, 31 Jul 2024 16:44:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.65.109.163 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722444286; cv=none; b=MAakQxkXAcUduGzsOmk4bDZp81RGjI9WadFNFufRmzzoxl5S0v5XjTovY9DHfROLB76AmgwzZIYb8iN2mfdGUF6OxcJkvcmwk5oOZFlSXxKkbteBsHylDXG8Paumn+uD2PbnLvK3jLNq3ClpE5oVQnhZrcyyjVaKVo6KehQSR08= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722444286; c=relaxed/simple; bh=h8eh7VYeDujcBIAS3vBOyPxLeyfsyYT2kvXLLn/W5TU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ahp4ccuPjONmfJDbhDk5axWrdFhcgkwGhtuwTsJtwWLodxvC4gEKWKX+V+rSK+eeSE/jew7+QN2cjcfnPGKvEv20vcFLMuIVk7NYwhZwBSaJpDlXPZBSLuP0E4rxavdo2RoaMQ05x+PwNMt2t/npfNTDeh7vgh9CkILqCmN0w6Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr; spf=pass smtp.mailfrom=linkmauve.fr; arc=none smtp.client-ip=82.65.109.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linkmauve.fr Received: by luna.linkmauve.fr (Postfix, from userid 1000) id 1950F14649E0; Wed, 31 Jul 2024 18:44:29 +0200 (CEST) From: Emmanuel Gil Peyrot To: linux-sunxi@lists.linux.dev Cc: Jernej Skrabec , Maxime Ripard , Paul Kocialkowski , Mauro Carvalho Chehab , Greg Kroah-Hartman , Chen-Yu Tsai , Samuel Holland , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] media: cedrus: Don't require requests for all codecs Date: Wed, 31 Jul 2024 18:44:14 +0200 Message-ID: <20240731164422.206503-5-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240731164422.206503-1-linkmauve@linkmauve.fr> References: <20240731164422.206503-1-linkmauve@linkmauve.fr> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jernej Skrabec JPEG decoding doesn’t need it currently. Signed-off-by: Jernej Skrabec --- drivers/staging/media/sunxi/cedrus/cedrus_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_video.c b/drivers/staging/media/sunxi/cedrus/cedrus_video.c index 7205c2315bc5..30821d81d0db 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus_video.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus_video.c @@ -599,7 +599,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; + src_vq->requires_requests = false; ret = vb2_queue_init(src_vq); if (ret)