Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1253913ybi; Thu, 30 May 2019 14:17:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcFTaAq6S4blcXuFRvIPZhlot3TUXzwicnoUe8x5lZeTPWhiMAPphyA7545wNlHDpBHa/K X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr5549978plg.190.1559251040644; Thu, 30 May 2019 14:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559251040; cv=none; d=google.com; s=arc-20160816; b=gsEBXsowwpVNwz8nptBgv+Z4TUVaLF45PGIzPLuDdRkhTuZzVFCwDoYdFWlu0CciLi h8nHZlQ+xpm0onXpGysNrTqpCJ25DxolOyMgmoHmSLalRXzwAK0BT8f/N+AImVJhpZ17 FSiQbu46iQ2swugnAz2UhhFWD1QAIqyqG26WdUM+hsBmI4hAxOvFwW3fvV7rOvUnPMKT bgwTk5J9TzqlCGxqS9xpiTMllnI/6flDEaIdkebiCVDv2C1wvBGZbEkGj2zkiP1izCjl 1zZrcYVqMQxjIjyCQyuG28VKaes7hlaB1cDDtIl/bbWfyibyu8XxsO7yU5eq9Gz9/KTP 1eSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+5842S2JJNFCU/9eri1LTiWG1B2FVMZNtOESThL6IKI=; b=kvNJSMfVqvFIE2ZEIAWjhIiMIhpE495v4U8UqNOHUHmLp990C+tW0uEjKz++p5Qkr/ sWAIbxgeSLo8TTmGVwHpZNQImPPbHJXsbfK1JRy4TwDXHk0wp5U0abxt3TvFj1EgJixN K44Fg0vcZLFZrIsHNmeBbaQ0w/rwlya6GvbZDFhgL9mEbda+EpZ8RWRiaFuz3pJmTSDO dUzT/FYcJJmv9eS7PNkHwLbGNlUkTQMgfAAu3gN7T9FY7rI0gtopQo0KlvkF3sJO3lZj ikikJ9lXGma9C5Hrie+KN7rHJ5GdARSva3fQ53vkV3J8AlUUKkGcui6ykUIDWhDZUFvn qv8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si4084783pgh.79.2019.05.30.14.17.04; Thu, 30 May 2019 14:17:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726819AbfE3VPs (ORCPT + 99 others); Thu, 30 May 2019 17:15:48 -0400 Received: from mailoutvs50.siol.net ([185.57.226.241]:55424 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726100AbfE3VPp (ORCPT ); Thu, 30 May 2019 17:15:45 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id B1A70522869; Thu, 30 May 2019 23:15:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta11.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta11.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 41SBzfmFGsOm; Thu, 30 May 2019 23:15:42 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 77ED052286B; Thu, 30 May 2019 23:15:42 +0200 (CEST) Received: from localhost.localdomain (cpe-86-58-52-202.static.triera.net [86.58.52.202]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id 32AB6522869; Thu, 30 May 2019 23:15:40 +0200 (CEST) From: Jernej Skrabec To: paul.kocialkowski@bootlin.com, maxime.ripard@bootlin.com Cc: wens@csie.org, mchehab@kernel.org, gregkh@linuxfoundation.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] media: cedrus: Don't set chroma size for scale & rotation Date: Thu, 30 May 2019 23:15:14 +0200 Message-Id: <20190530211516.1891-6-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190530211516.1891-1-jernej.skrabec@siol.net> References: <20190530211516.1891-1-jernej.skrabec@siol.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Scale and rotation are currently not implemented, so it makes no sense to set chroma size for it. Signed-off-by: Jernej Skrabec --- drivers/staging/media/sunxi/cedrus/cedrus_hw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_hw.c b/drivers/sta= ging/media/sunxi/cedrus/cedrus_hw.c index 9c5819def186..9de20ae47916 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus_hw.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus_hw.c @@ -79,9 +79,6 @@ void cedrus_dst_format_set(struct cedrus_dev *dev, reg =3D VE_PRIMARY_OUT_FMT_NV12; cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg); =20 - reg =3D VE_CHROMA_BUF_LEN_SDRT(chroma_size / 2); - cedrus_write(dev, VE_CHROMA_BUF_LEN, reg); - reg =3D chroma_size / 2; cedrus_write(dev, VE_PRIMARY_CHROMA_BUF_LEN, reg); =20 --=20 2.21.0