Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp808732rdb; Sun, 18 Feb 2024 12:59:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX5Hy1jRzX4bvJcjJMK1k9rAEZE6FTpG/KuRDGpeig067d2tFMWVjQds6xz2AQe2VfyHyAWfMPkMIkqjVWyqPyUsEoTgoJU7Lvz3I3xbQ== X-Google-Smtp-Source: AGHT+IHROkoCuLphzXXeLXizkNr2ngTkHQ71q4HOJJJLoxbiX0cvYL7TNcrebXKy+jsu9xsDxLbW X-Received: by 2002:a17:90b:1990:b0:299:48de:9c7a with SMTP id mv16-20020a17090b199000b0029948de9c7amr4534558pjb.0.1708289979721; Sun, 18 Feb 2024 12:59:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708289979; cv=pass; d=google.com; s=arc-20160816; b=aBNdPhz/6R9oN59UvYaYcXacN/pi5WkFfstTkORl2DGR2RAKnkR/N0vdpX9q9Y2IIr 8kFADLyFab5wwQw40dBAXnbIbQxDifLtj6hpf2VGrbO0cdYopv23oFwW26ZHbj86CL+E +Wz0aY9cUj1Q+ShvHzuXSCSAUAke+xGao8H6tuxeO0o9VKsbLacLGL9+t0hoGlgoxrav 9AKfkOs7Or+BYXlf8m3Zrdiy2WH6tkqeJWD3NMVSRac7cAdG6RVLLVdGvQqnBc1xFZ1r Y+6r8nosXL1y5gNKmQNXVxu4z6rCA8xP11j2Ckxm6S1NN2S8FZChsAUniMkj90CqKEpn LmDg== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=MVJ9onNkJLhKBSp//ALixVgEZzwM8iwaMeNg60Jqz88=; fh=TP1KIHVljox/KZLaEtLV2YjKQGwtDkXKEeDr2Y6WrHA=; b=p/6GH35XMGB/Tm0l3Fa6KaoLtPWurN84djxxVCMwanVBssPufEfbHFPSM6kFklyein zg2tQDMk5mmrfEF4KdeDo+T2p9Lwxe8VDBvKg3vW7ln6wcpgQUZcUKmkUQ3rgVAOp6pT Qn/MbyVUgHigZllEQVvjON1XWKtjMkq9bUw4ff1kP8PsH/v4pvDHJlDwgIvl8GzMLKVg gTVhMVk7c9rn01FutV22TKYUd/jgBCDFn0ktox5J2WzYfWSqQu9SAaXB61vZ1itj2j2E zEYDWvLMPDGYHUCv9hFE284W6poHDFDQlDb5dX3m2ULfG8cf0SGu3Xb19ZXDPQfhf4Ft X4ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=BSuHcece; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-70582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70582-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id rj3-20020a17090b3e8300b00297223d5fcasi3388468pjb.47.2024.02.18.12.59.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 12:59:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=BSuHcece; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-70582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70582-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1BA04B20A64 for ; Sun, 18 Feb 2024 20:59:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7754745C6; Sun, 18 Feb 2024 20:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="BSuHcece" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED2D473174; Sun, 18 Feb 2024 20:59:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708289948; cv=none; b=f12vCtpRf3mEzN//JqH/2TGe8bpfEkGkRXz1QsfEb4F6nkof5/wO9pzML47NktVVs7IATO+qhOLo1K0UeWrSAbL/V+PG13j3xpSnRZJjvCjT1CXruCOYESNzl96XdhttBzvYDeLop7ymi/+pa8FgIl2hKk3+X0EdVq+w8LFJ+NY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708289948; c=relaxed/simple; bh=khfnj274W3hIO2mm4nJSPvvGpMlSXQTa0mKP8vdFy2A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S/2WdgiyW/Ug2OMuOpm8BZqViqQeyZkLMaP/AlhlQ00HA1f76xzYkFq0vx7RPPibdyGlCiNJ3QjHm4E0KUeSPBTpaLh8QCH5Tnrsk8+A14ysfLOws7GgYi+4oTJWAO6mls7ElBwrZ7SwxTygJra8jbg2OPPl6cDo/kkBJ1RZlFQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=BSuHcece; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi [89.27.53.110]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id CF5BD480; Sun, 18 Feb 2024 21:58:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1708289939; bh=khfnj274W3hIO2mm4nJSPvvGpMlSXQTa0mKP8vdFy2A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BSuHceceam2Vbvp9RA20ARGPGohQIdFGAlbTwzftZgQ4rIl5rhKwnTO/WhUVtPv52 DHpZIW7qPTEYHPkKNwBFReef7MunnXznqTC+2Wuy002AOwRWuzN/J8JnvqVstgzjY7 m74hrhd/pVXQECWZJ26fbguybcfTZ/AEQT+4cj0U= Date: Sun, 18 Feb 2024 22:59:08 +0200 From: Laurent Pinchart To: =?utf-8?Q?Ond=C5=99ej?= Jirman 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: <20240218205908.GA12766@pendragon.ideasonboard.com> References: <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-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240217185202.1754750-1-megi@xff.cz> 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) ? > 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