Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7259667ybi; Wed, 5 Jun 2019 14:10:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBU5foanfPxjmL68q+i8wgak3ouYZLWy2NHLlYZ3RSjKQivMVba2W00R578Ggng/F2ieD+ X-Received: by 2002:a17:90a:d34f:: with SMTP id i15mr15274769pjx.1.1559769053914; Wed, 05 Jun 2019 14:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559769053; cv=none; d=google.com; s=arc-20160816; b=obFngJ5EskcT0qp7d4NaIb4Jgf0ptHb6dPu0gS7BVCP+czm2qEh6wxHSNk+7ygb/hB NasSp1wufotRauHxTpr55XSYzp0eEyRWXOJCmdEuRWw8O3NRr43tKs+npge3FwgaqvqF +LPqfkot79yW5rrBlY7xiVkH49KCFgHI/ueGdLzdQUxYOat/GaFG2J8EQFZujaujh+pW OPdFcxcU6p4HT/jtvlzSGzvRp5znxcYA03k3zhq03uza7SYxPBmeFmi3KeR4nsdav7++ 6bC7Tx4LgHnHMsCgSKrq+6avf12XJwIWb+nNWq5CKpmv3Ii0iGEyMGd3NjUKBB0jxE+K jRAg== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=7trxlfJ1OBDvwPk6EIQWTFCCzBhqJ3wvbe/GkpysSGM=; b=XYs4lozZ/K1W1xWlvtTxHGUkaMCoeQxJ+eMeyDc83Hw5KSVXYWUVgCMF/Mlblks2hk iqG8bQdXhzBVMMVcZM3GhmKg4Js52VZB8Vq8/zFyriI3cIdy3ygWz5OejkHIkWMVOtOi 1PBRn2xwshK7x8T25FzDlVJwkPFaUivEkwVcncvboi6KJ4a7xlbkM2G4n9J/CqhRb+SO fzuqWu74kVl9kgKRTQslMxHT9KV+Fk5u2fC0bCr96XptlQ6+kfrNfOIp/PXXT6CfdtPW FvVOSL/31aioOvW2iM7X1+ce687M0hLyFNE7Kg/Y1kxF7M9EyK/lAjqlijloPIav6hft Dlrg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si2447738plq.140.2019.06.05.14.10.37; Wed, 05 Jun 2019 14:10:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726663AbfFEVIP (ORCPT + 99 others); Wed, 5 Jun 2019 17:08:15 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:36131 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726464AbfFEVIP (ORCPT ); Wed, 5 Jun 2019 17:08:15 -0400 X-Originating-IP: 93.29.109.196 Received: from collins (196.109.29.93.rev.sfr.net [93.29.109.196]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 9B30F40003; Wed, 5 Jun 2019 21:08:07 +0000 (UTC) Message-ID: <5c2217a4e80eaaa6a8eefd8752ce9a86933d0a80.camel@bootlin.com> Subject: Re: [PATCH 5/7] media: cedrus: Don't set chroma size for scale & rotation From: Paul Kocialkowski To: Jernej Skrabec , 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 Date: Wed, 05 Jun 2019 23:08:07 +0200 In-Reply-To: <20190530211516.1891-6-jernej.skrabec@siol.net> References: <20190530211516.1891-1-jernej.skrabec@siol.net> <20190530211516.1891-6-jernej.skrabec@siol.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le jeudi 30 mai 2019 à 23:15 +0200, Jernej Skrabec a écrit : > Scale and rotation are currently not implemented, so it makes no sense to > set chroma size for it. > > Signed-off-by: Jernej Skrabec Acked-by: Paul Kocialkowski Cheers, Paul > --- > 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/staging/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 = VE_PRIMARY_OUT_FMT_NV12; > cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg); > > - reg = VE_CHROMA_BUF_LEN_SDRT(chroma_size / 2); > - cedrus_write(dev, VE_CHROMA_BUF_LEN, reg); > - > reg = chroma_size / 2; > cedrus_write(dev, VE_PRIMARY_CHROMA_BUF_LEN, reg); >