Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5645686rwl; Tue, 11 Apr 2023 08:09:54 -0700 (PDT) X-Google-Smtp-Source: AKy350Y5wVvwxsdgIOjPR9MCVFYGFC7eXNKX1l8GFWZsyjyBbPvGFlKgIafbkzTUjk6nsdibMlnL X-Received: by 2002:aa7:c317:0:b0:504:8b5c:a961 with SMTP id l23-20020aa7c317000000b005048b5ca961mr9224440edq.18.1681225793990; Tue, 11 Apr 2023 08:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681225793; cv=none; d=google.com; s=arc-20160816; b=cEE7JsAk4LWTzfGBQUXWdGZhDejag1/HlTeYcH2Ukee6pTqaVsq/8RDD75uELURT4h VyiK1vL/z5J5V0peB5J4SuwamEoJVYJ/Qp9VwtXJxlHfJUFte3gdMsObIJj1EZKRJy+/ AUxeMiiWTlALibi574jojYO+1F3ovREL6kWG2L080UZsCFsazrevVOjG47yWwnvdxREt ok+/YjqCS2cU7EjbNy8no2gyiutulytP38TfXRN3MG0Ia2+6PbLZSTWWfAEst4Jpt5qN AgO43nZEc2POTptqKbM669Zva+ZfLY14kxz4UChGaqpCeR0vIggaD3Zo+7tJsuaFhKbq AxiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=0I+XWeUjGtmSyFgR6TNNZ93Yt3qgm9cQgJHRsHAo0hE=; b=Wn4O8sgN/SoqyB4WhkZyrRSjpZs7mPpl4OdTFRQLieREeTEIfoEMa54Xx52DPspNpI r7Bb92R4ZJZlBwkVNV5FcpsmGU+aGssm8OmKEFUh0Md6G7CcKHWe1y7+zpFcTfdo2yQ4 HGkoD4hpPyhOvqulTG1ijeTIAcIngo9NuSeTFVRBebdzlvX1DYtZxQAWbQtMSqcQO+aR mzd0UkrdUDjW4w+ZsQHj+6Mw9JtXf8nxOQmTvjBZO3RJY4Yv5IKkxBcBR+bwRsExR3// AW3MJzujujOQkfsqqWjMu6dFLBJ45QkHBq8eYwNo/4PJ5xvmCqYNfa+vRuWJpKcxiQ36 axvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=T9sqm70h; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t24-20020a05640203d800b005021cf614cesi53920edw.7.2023.04.11.08.09.27; Tue, 11 Apr 2023 08:09:53 -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=@collabora.com header.s=mail header.b=T9sqm70h; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229639AbjDKPJA (ORCPT + 99 others); Tue, 11 Apr 2023 11:09:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbjDKPI7 (ORCPT ); Tue, 11 Apr 2023 11:08:59 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CB215267; Tue, 11 Apr 2023 08:08:39 -0700 (PDT) Received: from nicolas-tpx395.localdomain (unknown [IPv6:2606:6d00:15:199e::580]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: nicolas) by madras.collabora.co.uk (Postfix) with ESMTPSA id 54D6A66031EA; Tue, 11 Apr 2023 16:08:36 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681225717; bh=076CzJvPOPKrvq+MGxxB4wZDMf27bcPrUtizfOd0u4Q=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=T9sqm70h7J7oaiuU67WzBUMIQBqkQlP3kEAMaYwOUOn8EdVh8dpBYOlSlRvwEfuHA U6aAjG5OZB86zADQEjkuWhUSySyZSwh3S/SrGLeFIM5NX0TuwVsAqmXscvVEYC4JO5 ABDQnFbcqlThss8JCmtsHv3W6e4CYlO6TO7iGs/Dm/08pVIjKcnOapLBHosuE8lFpf sypiCU9ofXYqyiNDk/9tro41zQIhGbvdiTDrMW0gqjup6fhTlluQZ9FcnKrkGKY0pk CykGkxTVDxl3iXgi1RINxy7t/K1hgJlSs/6xQCWhgv7Qgk6TJO/FdJmVi5BQRi4zLd A8DwQn0sbAEhg== Message-ID: <46703c104c57d7b192f3e19860809e8e71016997.camel@collabora.com> Subject: Re: [PATCH v5 04/13] media: verisilicon: Get bit depth for V4L2_PIX_FMT_NV12_10LE40_4L4 From: Nicolas Dufresne To: Benjamin Gaignard , ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Date: Tue, 11 Apr 2023 11:08:26 -0400 In-Reply-To: <20230330154043.1250736-5-benjamin.gaignard@collabora.com> References: <20230330154043.1250736-1-benjamin.gaignard@collabora.com> <20230330154043.1250736-5-benjamin.gaignard@collabora.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Le jeudi 30 mars 2023 =C3=A0 17:40 +0200, Benjamin Gaignard a =C3=A9crit=C2= =A0: > Let's the driver knows that V4L2_PIX_FMT_NV12_10LE40_4L4 is a 10bits > pixel format. >=20 > Signed-off-by: Benjamin Gaignard Reviewed-by: Nicolas Dufresne > --- > drivers/media/platform/verisilicon/hantro_v4l2.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/media/platform/verisilicon/hantro_v4l2.c b/drivers/m= edia/platform/verisilicon/hantro_v4l2.c > index d238d407f986..7ed2dfd4aefa 100644 > --- a/drivers/media/platform/verisilicon/hantro_v4l2.c > +++ b/drivers/media/platform/verisilicon/hantro_v4l2.c > @@ -71,6 +71,7 @@ int hantro_get_format_depth(u32 fourcc) > switch (fourcc) { > case V4L2_PIX_FMT_P010: > case V4L2_PIX_FMT_P010_4L4: > + case V4L2_PIX_FMT_NV12_10LE40_4L4: > return 10; > default: > return 8;