Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2238424rwa; Mon, 22 Aug 2022 04:44:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR79EFHp7oFgy4Pu3cjaq9UKmVu7Ug6Igtz5kmM4STn7B0+GJUZbx9xL9hKeUbZFmIY9dmax X-Received: by 2002:a17:902:e848:b0:172:d851:e24f with SMTP id t8-20020a170902e84800b00172d851e24fmr9154358plg.146.1661168689543; Mon, 22 Aug 2022 04:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661168689; cv=none; d=google.com; s=arc-20160816; b=mLaHiBjYFMvvjwkFmi1XghkbEIC3efyNAl/HHb5L1lg/pwIFm+hBzsCezQFZhadiFz knBjs80MsV+rYYC8mHKjFMazPy8J2SlLECWeSnKi3MAQ44sOF29e8ifSX5qVsgXKgMwb HB6IGUXZhLl82UVu0wgkK+7aTDGqvxg+aybSlAeVpzxingexJ4iIaxXFBpI0WaRtciRC nvy/lGc8Wy5bZhKtNrkAziyWufOifaSpiUplm27hr5rsmTshURBQd4b8WowNSubXS/E1 6Ux3AzPuHTaqG0YoX5mQ+iT04qGRPExf6ZPBfHGS0lM3ejGqYkwOLGkHzYWVJBjsiAVn 6szg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wUgV2Ei3VPndZYBESRVNpGjCEEyp7x/UjspUYhCN3sE=; b=FcNjdXy9aBVWnV3AiH1VQFk4pyZhYbuXdW9xCjZKu2uUBCzLIgrhJiV7zVYUP5N1QZ pS9Bpi2z0NO6fduCceTsSN0Ztk2bod2e2UhAYbV1N/XakHSZfIxZH3xnjepvWQ2+yWRF o0tqoRExwxnKC+6qrLSZ2M9rK8NaeWPjK5yVmb1ZbDYY/OTxk69LkvLtpNqlfcd42+fm B0Eo0EUVZJW9HAI2GlLfQR/P5yGuffO1/uSWBL3a58XUqOCLILXXdMdtPabxa/hwUg1L EtFD6Bfs46QLXDJcnM/HdBwEdJibAtIoLzt+5uucFKAkx+Xojxov7LJmoW5HmAIGh0x2 iU4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qnwctCDO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 126-20020a621984000000b00536e79bb4basi55260pfz.302.2022.08.22.04.44.38; Mon, 22 Aug 2022 04:44:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qnwctCDO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234722AbiHVLch (ORCPT + 99 others); Mon, 22 Aug 2022 07:32:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234790AbiHVLcS (ORCPT ); Mon, 22 Aug 2022 07:32:18 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD04533E3A for ; Mon, 22 Aug 2022 04:32:03 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id u15so11845443ejt.6 for ; Mon, 22 Aug 2022 04:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=wUgV2Ei3VPndZYBESRVNpGjCEEyp7x/UjspUYhCN3sE=; b=qnwctCDOCDU1VI49iqzJtJ+SLK9B9xQx+kzlLNEFn9cagNcYFl6StQP+Jb0ZoLtT3P VXNRhXgknKyXjpj6O8hC2IcvTNO0OlZx66bbIfxVXPu4jcHbh7sOn6S4akU0UNUhqZHF CtLdu2ANBvHLJ1H9GU5HaHF33yZ3ehN7luN9Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=wUgV2Ei3VPndZYBESRVNpGjCEEyp7x/UjspUYhCN3sE=; b=sbgiJ5+sNmp8iV8xRb8SNWW3owIGvqZB12sQjUX1c0u5wZ641qnvBugcMhh8p88z5W jGrZuEMKANKlqDelIk62mu+CfApOO3kRBpJD03/M4oETkv5WWyPg1jF1WGQ5UPByWqku Z7zOu5igF/sKYSef/nwUooZMtlBIJCnPqpBBWWf4kO8yjN6sDvIY4uumMtmknLk55yXC ySfMgIWzuID46fVbUmmKd/pR0XMo8ERunXTQCF9olNzzGefkwCb0cjo/sM4J0jUXWtsy exIDYgfTqyfbMN/O97kAndplmTFOG6+lJpWi253OZQLr1v1tFLrGQ2uigeiHd4etkxKy avCA== X-Gm-Message-State: ACgBeo3T1Lr40FuXDvUbCH/uq8R9eL7YARLTNyKEd9WQ+i7MJIdR/X5G 7bEzbmEI2EZ4gmBCX1zDwJvR0w== X-Received: by 2002:a17:907:c0d:b0:730:a85d:8300 with SMTP id ga13-20020a1709070c0d00b00730a85d8300mr12340263ejc.558.1661167915323; Mon, 22 Aug 2022 04:31:55 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i (net-188-217-57-252.cust.vodafonedsl.it. [188.217.57.252]) by smtp.gmail.com with ESMTPSA id v12-20020a056402348c00b0044687e93f74sm3973145edc.43.2022.08.22.04.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 04:31:55 -0700 (PDT) Date: Mon, 22 Aug 2022 13:31:52 +0200 From: Tommaso Merciai To: Ming Qian Cc: mchehab@kernel.org, hverkuil-cisco@xs4all.nl, shawnguo@kernel.org, robh+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, xiahong.bao@nxp.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 4/4] media: amphion: encoder add support for contiguous planes Message-ID: <20220822113152.GC17530@tom-ThinkPad-T14s-Gen-2i> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ming, On Tue, Aug 09, 2022 at 02:50:41PM +0800, Ming Qian wrote: > encoder add support for contiguous formats NV12 > > Signed-off-by: Ming Qian > --- > drivers/media/platform/amphion/venc.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/media/platform/amphion/venc.c b/drivers/media/platform/amphion/venc.c > index 060a1ee78b17..3cbe8ce637e5 100644 > --- a/drivers/media/platform/amphion/venc.c > +++ b/drivers/media/platform/amphion/venc.c > @@ -72,6 +72,14 @@ static const struct vpu_format venc_formats[] = { > .mem_planes = 2, > .comp_planes = 2, > .type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE, > + .sibling = V4L2_PIX_FMT_NV12, > + }, > + { > + .pixfmt = V4L2_PIX_FMT_NV12, > + .mem_planes = 1, > + .comp_planes = 2, > + .type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE, > + .sibling = V4L2_PIX_FMT_NV12M, > }, > { > .pixfmt = V4L2_PIX_FMT_H264, > -- > 2.37.1 > Looks good. Reviewed-by: Tommaso Merciai -- Tommaso Merciai Embedded Linux Engineer tommaso.merciai@amarulasolutions.com __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 info@amarulasolutions.com www.amarulasolutions.com