Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp885828imm; Fri, 14 Sep 2018 07:49:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaIufm6DYkkYeyebcFG2h1x6t14hx+X10587e8lWS2ufqo9tbdqbptDhcpalL9Nxo27CKFr X-Received: by 2002:a63:3dc6:: with SMTP id k189-v6mr12191848pga.191.1536936548082; Fri, 14 Sep 2018 07:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536936548; cv=none; d=google.com; s=arc-20160816; b=PNxUpSZAI+4WO+0Y1P6KHWz7m51y23uxAS93pEYiBdZe81bCNwRQQHUkaDt081MiTm 5DVE88ezuC6f/z5S9BmLVGpIpTiWY3yBCvjhn6qtwX5tn2+a7P0tzBbTURiv/cDbP6ue zNdYqECplhFa0ZI7kZDzm2qUhR2b6776N0HBbVEbFuHmeUaKfHsPvOT5M5d3F1p/lIik q8FA+hVWhN7nls9ZOANodUL1xnVkoaVL1xbp18n4hqVARsM1bf6rOCeO7kS0ZrTySgs0 oLBW1JDcUnR+S2yeH9QVzt22QOsUmcwwHoivLUNUqykPFYLP6tI3tj97hxeId1hs1Fbe lAgw== 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:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=lcXT7Y6UI103vHgUbygDdttbrg+vqBG9WCZab4GDi3Y=; b=i0WvkMrly52imIbKp0W0QiO5CWL3gNqnlJnzkmwXkbA/TNbnP+AxtlFmwME+pdILgL JQV/XWf97w3KpWGsGwqsOwhONQKl8mUg7/5gYOEcez9QmIv2nraCmCND8sITOHmPtNKi IzSBVus6Nb0Zm9x8wKwp3EtXFTQC1x5uYb9bcDOwsYhwwqg6ITYSiZOZyetMtkquy68G 6uPmbRvhRivUqowiZuy8mSlGLn0Z+OsIlaWft6gunsDsUzi2JUhZ8+s4gudffPCUW1XN xFsvEbKkRw+0WbL1zfF09WJFm/yKq9PAPS2IyHfvAvSi6qhBfIXiACNEPAgFfJXgIm/C r0Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=sTjucxrR; 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 p21-v6si7188064plo.182.2018.09.14.07.48.48; Fri, 14 Sep 2018 07:49:08 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=sTjucxrR; 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 S1728241AbeINUDc (ORCPT + 99 others); Fri, 14 Sep 2018 16:03:32 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:36868 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728065AbeINUDa (ORCPT ); Fri, 14 Sep 2018 16:03:30 -0400 Received: from avalon.localnet (unknown [IPv6:2a02:a03f:44f6:3500:d929:375b:d608:66c7]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3406DB91; Fri, 14 Sep 2018 16:48:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1536936518; bh=UI1pAg4pQGk6Owf4KVN5N4RrAsV1XW0I3QIg2nOTPhQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sTjucxrROInYUty//Twu/xS7DO3geHkwDjICCcGVUlGXLwvZzIX7eieG3yfyGHXbB bu4MrC0F8Z8hLECXRiMxdF94ViqGqzRByPMPMMoQriWc4qDkJqvDd1QhWCcnC086Kk Di4FtBicv0J7o5dvuBbk4wCGuB+He5t/zrN9g4og= From: Laurent Pinchart To: Kieran Bingham Cc: mchehab@kernel.org, linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Kieran Bingham Subject: Re: [PATCH v2 1/2] media: vsp1: Document max_width restriction on SRU Date: Fri, 14 Sep 2018 17:48:51 +0300 Message-ID: <3654115.xQLpRLqA9F@avalon> Organization: Ideas on Board Oy In-Reply-To: <20180914142652.30484-1-kieran.bingham+renesas@ideasonboard.com> References: <20180914142652.30484-1-kieran.bingham+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kieran, Thank you for the patch. Reviewed-by: Laurent Pinchart On Friday, 14 September 2018 17:26:51 EEST Kieran Bingham wrote: > The SRU is currently restricted to 256 pixels as part of the current > partition algorithm. Document that the actual capability of this > component is 288 pixels, but don't increase the implementation. > > The extended partition algorithm may later choose to utilise a larger > input to support overlapping partitions which will improve the quality > of the output images. > > Signed-off-by: Kieran Bingham > --- > drivers/media/platform/vsp1/vsp1_sru.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/media/platform/vsp1/vsp1_sru.c > b/drivers/media/platform/vsp1/vsp1_sru.c index d216707f64c9..19f91eb81134 > 100644 > --- a/drivers/media/platform/vsp1/vsp1_sru.c > +++ b/drivers/media/platform/vsp1/vsp1_sru.c > @@ -314,6 +314,11 @@ static unsigned int sru_max_width(struct vsp1_entity > *entity, output = vsp1_entity_get_pad_format(&sru->entity, > sru->entity.config, SRU_PAD_SOURCE); > > + /* > + * The maximum input width of the SRU is 288 input pixels, but 32 > + * pixels are reserved to support overlapping partition windows when > + * scaling. > + */ > if (input->width != output->width) > return 512; > else -- Regards, Laurent Pinchart