Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp809922rdb; Sun, 18 Feb 2024 13:02:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU/+ePo9pFePfXnanLA6damB4/LvBTThYn+beeyyI/Dv66f/dWmHLPxDDazQoqTGsog5Vw9Bo5DQWAVNbzx0Kv/5wjUaeFzCr1OkYtUOA== X-Google-Smtp-Source: AGHT+IGxgTsyq7zvqeR4fcHlxjqBxAnJBbpXQODkhgP8Np47kueZCqiS1E/YHwS64DDWAVXwOutn X-Received: by 2002:a17:90b:78c:b0:299:5401:89d2 with SMTP id l12-20020a17090b078c00b00299540189d2mr2572848pjz.45.1708290135025; Sun, 18 Feb 2024 13:02:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708290135; cv=pass; d=google.com; s=arc-20160816; b=sF++0kR/M8xJH7LjAcpko9bgk5BofFidF2P+8NE279WqOx7PxdpKX5QybYyzUEuIDm xukBShYHcQi285owA1FCcje528EDm4bv3BKLLtOggx0YFfiPKNQvwyQmLxHQRxn0btKd Nj0Ka9sxAF/lR6v2yZjzZGt4nEl/BQV5GcjGewzT7qFPvAL4dxRYgn+CEyS+6anZhBWH ZP7VWZ86xU3jCSdGfysIvG07C2EPSYX+qfdI41OCBimmQ6TMwb5R2lVjfD/qJEYz8Y4Z xeN987uslo8C8jaiFwzP8Rmp7Bg3eUZiVNNEX6xxkvztIPuEwSHj3+tTc3VQrFh9N5b8 rPlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=uYtWRJ1HduClDovUQ1B4KmiRqk6p7OKvxbmyl7xtHZQ=; fh=rZ+CgwcU0aDHlPrpl8pbNB/eDxkAgalEoweHQm6Jw/w=; b=gOMh/25lRYLDJZ15D9g7oxud+HjWlz/St/2tT37rgSCbhs89BezzYJE4LyoMDMrXkG LifSaBx97mcdihjUa7ml8mcqx/cfzIVTCuPdWAJmqhgKbQrl0Vpuklbfs6sdXxDv2yEu qkCirAobssfqqT2kLq4rSb59zLng6BJp8W+gTrEkcTob/2Zyx6moIxIslR005dSLNf65 1o6BFQHdx+DUNHReBzYr4hPBaibqwqkNMeHCYCoJu8xX+vofAqv+YBEiv7MXXeV4cky7 TLXv7X7Qu1GFkiqE4X1reRPRebww9lzwEPR0TamE/R3yOrJAjypCurF/wSyY47ia2hKe DFkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=Ed+rRW5Z; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-70583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70583-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lx11-20020a17090b4b0b00b00298986bddffsi3457921pjb.111.2024.02.18.13.02.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 13:02:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=Ed+rRW5Z; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-70583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70583-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B6BED281823 for ; Sun, 18 Feb 2024 21:02:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5062773186; Sun, 18 Feb 2024 21:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b="Ed+rRW5Z" Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) (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 BA9CC8C1A; Sun, 18 Feb 2024 21:02:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.181.215.36 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708290124; cv=none; b=s8rLILAl0WlnARJDdhi82GuvhrIvs2RskK56E9BvARGkdLPRl3XiJncl1rDnk1xGe8r1k8XIi7RGttnyhxXdRQLrP1AkFD1UfP3/1c40qX8mJK0ty6WOLZR7pK/psAWJmm9XXAxCnjGsdeyIKQ/sRjNJwQYRbyMpD4F1kIdtLUg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708290124; c=relaxed/simple; bh=39o8JnW8nz8KkMiUIzgrvI2AwghlyIJYXxtWjH0s304=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=to6j0de+l5S+ocGVncomYGjNOtu/YvCnuQzX0PObfUpQzhFY8ctNkMFznRt3RsRrIO+6LeBL7Kr5SQXMpVcaERoMylvWoBzo5nBJdBeYm/hDxQKEBOAaJn41LJWpBGnLap/22sasqe9Pe930Fe5YQWv/f7ZCFB4+HPfiYgiLpmY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz; spf=pass smtp.mailfrom=xff.cz; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b=Ed+rRW5Z; arc=none smtp.client-ip=195.181.215.36 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xff.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1708290112; bh=39o8JnW8nz8KkMiUIzgrvI2AwghlyIJYXxtWjH0s304=; h=Date:From:To:Cc:Subject:X-My-GPG-KeyId:References:From; b=Ed+rRW5Z7tE2mZTY1jKHk27CkPudDtGQ1cbiuMoBxacypMSu9w8G34XjGJOQFHrIL k/mT6zz8U+8rbLJalPRs7hwgdGqw5pUPvCzO0vm0A9giknFGRsxVtsEgkkCW5WPkuX h+isHpPP7Abm4idu09TyETKNShxT8nbo97FBJtes= Date: Sun, 18 Feb 2024 22:01:52 +0100 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Laurent Pinchart Cc: linux-kernel@vger.kernel.org, Dafna Hirschfeld , Mauro Carvalho Chehab , Heiko Stuebner , "open list:ROCKCHIP ISP V1 DRIVER" , "open list:ROCKCHIP ISP V1 DRIVER" , "moderated list:ARM/Rockchip SoC support" , Paul Elder , Umang Jain Subject: Re: [PATCH] media: rkisp1: Allow higher input resolution Message-ID: Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Laurent Pinchart , linux-kernel@vger.kernel.org, Dafna Hirschfeld , Mauro Carvalho Chehab , Heiko Stuebner , "open list:ROCKCHIP ISP V1 DRIVER" , "open list:ROCKCHIP ISP V1 DRIVER" , "moderated list:ARM/Rockchip SoC support" , Paul Elder , Umang Jain X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED References: <20240217185202.1754750-1-megi@xff.cz> <20240218205908.GA12766@pendragon.ideasonboard.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240218205908.GA12766@pendragon.ideasonboard.com> On Sun, Feb 18, 2024 at 10:59:08PM +0200, Laurent Pinchart wrote: > Hi Ondrej, > > (CC'ing Paul and Umang) > > Thank you for the patch. > > On Sat, Feb 17, 2024 at 07:51:58PM +0100, Ondřej Jirman wrote: > > From: Ondrej Jirman > > > > In BSP driver, it is allowed, and it works in practice. Tested on > > Pinephone Pro/RK3399 with IMX258 at full res. > > Paul, Umang, do I recall correctly that you have a similar change ? > Could you review and test this (especially on the i.MX8MP) ? It's also a limit from the datasheet, so the change should not be that controversial: https://megous.com/dl/tmp/d2b333043ecebaf3.png (so that it doesn't sound like I just copied the BSP values) regards, o. > > Signed-off-by: Ondrej Jirman > > --- > > drivers/media/platform/rockchip/rkisp1/rkisp1-common.h | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/media/platform/rockchip/rkisp1/rkisp1-common.h b/drivers/media/platform/rockchip/rkisp1/rkisp1-common.h > > index 4b6b28c05b89..74098ddbeeb3 100644 > > --- a/drivers/media/platform/rockchip/rkisp1/rkisp1-common.h > > +++ b/drivers/media/platform/rockchip/rkisp1/rkisp1-common.h > > @@ -33,8 +33,8 @@ struct dentry; > > #define RKISP1_ISP_SD_SINK BIT(1) > > > > /* min and max values for the widths and heights of the entities */ > > -#define RKISP1_ISP_MAX_WIDTH 4032 > > -#define RKISP1_ISP_MAX_HEIGHT 3024 > > +#define RKISP1_ISP_MAX_WIDTH 4416 > > +#define RKISP1_ISP_MAX_HEIGHT 3312 > > #define RKISP1_ISP_MIN_WIDTH 32 > > #define RKISP1_ISP_MIN_HEIGHT 32 > > > > -- > Regards, > > Laurent Pinchart