Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp346550rdb; Sat, 17 Feb 2024 10:52:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWNkz0iVPH6vFSPbUPbofU0inLZB3WhAhV94Zg8CUdffoRrbuW4d7N9ilFPOipoQ7MFd+AZ9GPq7H8KjT2SsMtbwsgrS8leobfPxolKTA== X-Google-Smtp-Source: AGHT+IGgBFmF21ZkrEuqC2JrdW9H/JveH+2UoHVFyGX3cX3EpcnLV0yDyd9dU+ai+uHEG3EWhQ+z X-Received: by 2002:a0c:f0cc:0:b0:68f:301b:5481 with SMTP id d12-20020a0cf0cc000000b0068f301b5481mr6108046qvl.13.1708195942926; Sat, 17 Feb 2024 10:52:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708195942; cv=pass; d=google.com; s=arc-20160816; b=egqbl+sBtC7k/ilTqjHD5xlnAi/K4IdBtLQtrsY3oKZ2ZZNjeMbhVJyTp87ePCB9vP LdxPFOPUVtCP9c6IevVfYfGiXAX46+cqR/N3a7cFumKwvBQDJus1A58E2wQLI2oIhzxp U7FIn1LQ8KMdZiYIQ25N69JrPMBpXRukOzxYij/tyHAWA98asupkAL46ceTbzVry3YrJ Bi59VqhQaLeJ+rbPLS6YSs/gEBlIEd5/rgzyxJh46Jd1RdQaIBf5pdllS9RKhh+jUXgN yfUqgXUIZXwl/qL9oed0vxdZJx/aN9eXVJxT+98iMLF5b07WtE9yAY9qqJs8S9Rm5VpW p7tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=7yfdpu/C6KHVh1D6TRzMxLqWT3VfTyuCr7jvN6JBL0E=; fh=WP11xh7Y1hOs+epPYUTt53ZxLfA0Iz5YKkl0TEu3NeE=; b=wWyTydnsayq6RO0b368kiVpVV0ZNvCtljnYFLAu/ASSRerIpBqwP81JaB/rXOaqejX TH7C1k2bwR0oT41IQpxpZ6rckpMBaiu9pnUTTd6ZrIg9EwTagsBju0jr93T/YeEFfnEo vZx7IazFPDT+bIAX3teZacEqPX845KkMm1J/jYez46856fp0xPwXrqpVrODooG8H9e5X CyV686FGCrtPkZPgrdBdGM+UX0P/dagjBKIJyS119lEQw5zXadU58sb0zDa3tqDW+YeD 60LY1sh3unQ5uVQFnA/NQtM0nMyq93XfVMGw9SYq5MG19sazwVaHkUBFi3HDk6XLtrt7 iLYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b="mWjyxl/s"; 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-70023-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id kd15-20020a056214400f00b0068f360517c9si2529866qvb.467.2024.02.17.10.52.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 10:52:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70023-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b="mWjyxl/s"; 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-70023-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70023-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 86B9B1C21BF9 for ; Sat, 17 Feb 2024 18:52:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 144307E57D; Sat, 17 Feb 2024 18:52:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b="mWjyxl/s" 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 987461C282; Sat, 17 Feb 2024 18:52:06 +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=1708195928; cv=none; b=hzc63i2XN98WbIK8s69lAije0OrrvVZ1zY8QUovSlE+q+6PBN1F9Fv+dcMmzu4QawNpE2xpHGe1ZcUHYJ1x23T1rMomf/h2DnqTHvzATBiCCaoGd5ojgyVio9JQG1wewDl5OUKXd0JNTLCraPp2/dfK63qSRt3WjhNX+7qPKays= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708195928; c=relaxed/simple; bh=HRBsXHjOejmZlim4WFTvQhmTd/GTxXJaVN/xTbbQgG8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nPnMoegw11tHlChtB9byjJp+ak2IGRFFeQbjY4Ot2AB6EeQkU3W5xlclUvxQIERchAJx/TEciXX5xCmko8yQZkbRj/XnUuDKy4ugycxlDsNP111aSINWD8IMnaPJDKr6ICRVizAaXVRjrVhpu+Zh5ip1SQxpfPPJyXBqOBbpyXw= 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=mWjyxl/s; 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=1708195924; bh=HRBsXHjOejmZlim4WFTvQhmTd/GTxXJaVN/xTbbQgG8=; h=From:To:Cc:Subject:Date:From; b=mWjyxl/suWtNCVP3DS707u2Tlr9gLUP9/LtPcj2llvfo3lH+9+aeYKLqHZShBM5T5 957L5tTyBUBKzQxB4YD55mI5YEKXNuCcATMTQt9l+9JS4bWkBcMrEclljHWwZALfbh BeGTYyNq14AIq/q7ysXwb2L7h3h+on5ps075co30= From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= To: linux-kernel@vger.kernel.org Cc: Ondrej Jirman , Dafna Hirschfeld , Laurent Pinchart , Mauro Carvalho Chehab , Heiko Stuebner , linux-media@vger.kernel.org (open list:ROCKCHIP ISP V1 DRIVER), linux-rockchip@lists.infradead.org (open list:ROCKCHIP ISP V1 DRIVER), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support) Subject: [PATCH] media: rkisp1: Allow higher input resolution Date: Sat, 17 Feb 2024 19:51:58 +0100 Message-ID: <20240217185202.1754750-1-megi@xff.cz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Ondrej Jirman In BSP driver, it is allowed, and it works in practice. Tested on Pinephone Pro/RK3399 with IMX258 at full res. 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 -- 2.43.0