Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2151414rwl; Thu, 13 Apr 2023 02:17:49 -0700 (PDT) X-Google-Smtp-Source: AKy350bbsGlucEoO0oEmhD30YzTLHXljoIHiQ/14q6H7a7P2o/NlycqQTB9ry1hyb6yXyrWwA+iJ X-Received: by 2002:a17:903:90d:b0:1a1:e93c:8937 with SMTP id ll13-20020a170903090d00b001a1e93c8937mr1705495plb.35.1681377469565; Thu, 13 Apr 2023 02:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681377469; cv=none; d=google.com; s=arc-20160816; b=q0RKamM5EmqY6xl0N0Z45i1OnAfWtHWOxTU7HT4WQpyi8BLz6T1kNAdtWaw/0MxWMN hwGCxNPSV5Gb/jzVlFthCLzlsVQE4DoJuq3BE2DtNKOQnR4BzRHYFlmLBFgKdYNUUtYc x6EnrQeKRj0szmCtpc7wgxs6RYxCnuZOXbnj887M72UZmw957nx+BcaMHcs/DwZ359EB uO0akrQQjE1o/zZ3WaNN2vkuxYmugYbRttzBS4O+VN9zHAQRSrskmuK0B20zMUQbFvFV AL5YuzKIbWnQgbzhTS+60ZJB3Xz9YFMQ+uM+eLQiTtdRi1DX0EoWtI6etNEzx4pQ2rcR 6ufg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=auCZd7nJ+Hswx67Mk2nNB7msbFRyp1AStROlPSgvdgY=; b=tnhl3SCkHsjZQrY0c17KvHGEU80yS/WKQeAcX1+tR2N0utCA52DKVHV+A8lMMGNrwb dPvBUcjrhDz7tGtXjGBk0ObTR1CW/MK/EfrWx7fd6+PmDCLBxRwIgE8+kr5QbRCNOJ7r l5il93kHgTeyLTbSeh5F6Zusw9HgW9GpmeQJspZ4l7Iu95MZ4vCn4E830m+tHzcjp9aL 0VD53gdtCkfZ9psiZdqs6hwWivAIV7LB72na582upBPkycFlMYvQ2xj+H6iIJuy1m6Uk 5KV96jOk+mn9hPB3zmN/3OMLzACHuVQZN6brDldnnllk1KaQ8bw2+hXdY8kye6UpCdBi c16w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Jc1+AQBL; 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 j5-20020a170903024500b001a199eaf57csi1744381plh.404.2023.04.13.02.17.38; Thu, 13 Apr 2023 02:17: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=@collabora.com header.s=mail header.b=Jc1+AQBL; 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 S229575AbjDMJQk (ORCPT + 99 others); Thu, 13 Apr 2023 05:16:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbjDMJQi (ORCPT ); Thu, 13 Apr 2023 05:16:38 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE27993ED; Thu, 13 Apr 2023 02:16:13 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 686856603214; Thu, 13 Apr 2023 10:16:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681377365; bh=qah/T196BBIHxHtwXK40dRiVKbEiqh7RkQIU3gbUUsM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Jc1+AQBL2TvYa0Qw4gP+JH+WlYX8F85rIMRgmuIDaHiPogKRrsnjuzp+KDjghSt4W 6Uo5CDIsoGkLwEeYUMxOBZF4CkGPt8v7/xe2zJ9y2ALgkGAQ3TyyOvFy1Jo6QCne+r FSDDWAj42ApXQq/Rfc3hlnf2Ku9ioOh1fBf/A7NznDr2EOcAXyXrHYTZ9DLU6N03mj egDDO8IJDViAzItFMFbrtOt02jUrknP9r6pw5h0dxsjy3uKHjo5sdoaC7n8KED3IOa zf/q3DpjWWwDVAFDRNb4FI0tPchaboIXvUFUKLYNyQCtg0S6nRX+n3Us+c0+Cvh/jt 2x3Y3vH8HBcPg== Message-ID: Date: Thu, 13 Apr 2023 11:16:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v6 07/13] media: verisilicon: Check AV1 bitstreams bit depth Content-Language: en-US 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, nicolas.dufresne@collabora.com 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 References: <20230412115652.403949-1-benjamin.gaignard@collabora.com> <20230412115652.403949-8-benjamin.gaignard@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230412115652.403949-8-benjamin.gaignard@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 Il 12/04/23 13:56, Benjamin Gaignard ha scritto: > The driver supports 8 and 10 bits bitstreams, make sure to discard > other cases. > It could happens that userland test if V4L2_CID_STATELESS_AV1_SEQUENCE > exists without setting bit_depth field in this case use > HANTRO_DEFAULT_BIT_DEPTH value. > > Signed-off-by: Benjamin Gaignard > Reviewed-by: Nicolas Dufresne Reviewed-by: AngeloGioacchino Del Regno