Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2221891pxm; Sun, 27 Feb 2022 15:07:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxw/XFRpGeWH65bsvf/b0OPC1kJgZnI6cJZ/Cun8XKe8Y2bvsvw13n7WfJQ1fXUyncqvO0o X-Received: by 2002:a17:906:7e09:b0:6d6:80f5:e00f with SMTP id e9-20020a1709067e0900b006d680f5e00fmr5095540ejr.192.1646003249258; Sun, 27 Feb 2022 15:07:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646003249; cv=none; d=google.com; s=arc-20160816; b=U+o9hoLv+NKAbU3dQuFmr0zUXGgk3V1HJ42U1zcdcdUwwjr4LfhJawmRIbcpj5lf2T v9JRIBwnbqZ2n2wMwX5eD2ZhUNfRGb1ozsqWy0xn6cR8qFc58B503MUbFMNXUVSOapQv BiKMG4hDpNhkk3iajNYBojakxrt4SwZ5LDmXhvW+YyswMRUtBmmJbxPUQhlHyCxMy+xb a9Pt38bXlHJvzC+fUJ1VrYgh2+vvu0SenDeBZgV49QTmVH7ZVknSGW9I/9BT2PJ9WIrF p7E/ca5E6izqGCJOJrJqGu9lOM4jRAYG6IqtwHq63ofQb7iIGE8aN1DXi3FzCZYLHdpT LSXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CrbuTWBGQGF1wKlq0XiQG6lHRZW77tNfdMa5Cg7nAoQ=; b=AF+9r4PX6C5z4UnUW/zsLWxXDqIurBBUhBQ4CjfFUWW1PWcEZEyskSbRUDtbXJuvv/ MsCkuP2kjoh/54ayehAIBZZvqVRftOl5SUD+0ZYUF6UKwZPb3g9KoU4C7bNnrqbhA396 BEv6+0biA4I8QzxIr4wI5HY0MOBUd+rqydhXjDq7VwmE+fve1pLQfrrO3lZmdzpwjXRj Z9DyzGeedVD7Ic9UVMZzRhawjmayNqx6nLqRIlHnaajzzuTcBVh2VL/8QrnGLAgSf7Tb 5gtwnRHZR/9V0eWnuFLyhCh74pZgf1vhFRB9iGyfwKV1dz/cXGee/zuqpARtdlvVYgqa S+2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UnUTFbik; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wh16-20020a170906fd1000b006cb87f3becasi4577450ejb.84.2022.02.27.15.07.05; Sun, 27 Feb 2022 15:07:29 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=UnUTFbik; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231317AbiB0OvJ (ORCPT + 99 others); Sun, 27 Feb 2022 09:51:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiB0OvH (ORCPT ); Sun, 27 Feb 2022 09:51:07 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8605C5D5E9; Sun, 27 Feb 2022 06:50:30 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id z22so14082955edd.1; Sun, 27 Feb 2022 06:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CrbuTWBGQGF1wKlq0XiQG6lHRZW77tNfdMa5Cg7nAoQ=; b=UnUTFbikRlKsnmxTJl1qYMTnJhUdXo2Mw6/A2h8+Dd22/WCwk7gDYe4mX3ebjCslBf n81T74uLYvpybl/0eQD8efsoQhMREqDZd7dXlJ6hovOgqBEk1WRc+GnACSxZxreZ26Ul BQALOopIr+d1bVjGIdzRBfKZyxmvG3vmDvkDeABERmoo0ejF+J7xP7X0XtvQyF8bmf8R eEv8a2wbdvnOLCZ2xd6xTwn07uPX1Me1uS5aFz8Mq/KIjdvDzhDvzhw7DOXTMbRL3Vft UEhAiRAZPjFH36OMoEZ7eS8QJTyEX+OBdfxuAFC002Hjmq4U+QmbXMW+txvUqAE8hleD SnbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CrbuTWBGQGF1wKlq0XiQG6lHRZW77tNfdMa5Cg7nAoQ=; b=M7ErIme5PmjykDa7+ABLqz1ao4dOVvP/8A+l+bO7hCBgvo6hSPo+JoW678pwYZdSjD NKxsT3dZO81Y7RZAHJfGey1nFq9yqMgjhSlJPdD0doLCK3q4kNoz+XVBCZqmbLaIBSPf +hvw0ezgoIGnpMr/yOp9vfgFEstbwx2vx6y0w29sVJcRds6y+jJK8S6WsDPecvi9CZDT xmarot7myaV1Cqv/HbV2o3qPZ/rwXj/iv9gP2VuSs2ZFQjGy2jrbaESikB7toX8iK+a8 2fzZZjtDbNYmT965IwPt9qX/z+wu6L45XI5f3jD7ko+fh9DeLALpEuF4RGKM+tSb6Bfy 3+lg== X-Gm-Message-State: AOAM531ha5v+kwdIjytCnSV5twEtO5tvWQMW/E5u9bCXDjDJ/D073YmA ss9R2vX44oPBj3uiGiF2qof1IoF1sbb4SQ== X-Received: by 2002:a05:6402:50d2:b0:413:1cd8:e08e with SMTP id h18-20020a05640250d200b004131cd8e08emr15521864edb.276.1645973429011; Sun, 27 Feb 2022 06:50:29 -0800 (PST) Received: from kista.localdomain (cpe-86-58-32-107.static.triera.net. [86.58.32.107]) by smtp.gmail.com with ESMTPSA id a1-20020a1709063e8100b006ce06ed8aa7sm3501887ejj.142.2022.02.27.06.50.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Feb 2022 06:50:28 -0800 (PST) From: Jernej Skrabec To: ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de Cc: mchehab@kernel.org, nicolas@ndufresne.ca, hverkuil-cisco@xs4all.nl, gregkh@linuxfoundation.org, wens@csie.org, samuel@sholland.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Jernej Skrabec Subject: [RFC PATCH 0/8] media: hantro: Add 10-bit support Date: Sun, 27 Feb 2022 15:49:18 +0100 Message-Id: <20220227144926.3006585-1-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 First two patches add 10-bit formats to UAPI, third extends filtering mechanism, fourth fixes incorrect assumption, fifth moves register configuration code to proper place, sixth and seventh enable 10-bit VP9 decoding on Allwinner H6 and last increases core frequency on Allwinner H6. I'm sending this as RFC to get some comments: 1. format definitions - are fourcc's ok? are comments/descriptions ok? 2. is extended filtering mechanism ok? I would also like if these patches are tested on some more HW. Additionally, can someone test tiled P010? Please take a look. Best regards, Jernej Ezequiel Garcia (1): media: Add P010 tiled format Jernej Skrabec (7): media: Add P010 format media: hantro: Support format filtering by depth media: hantro: postproc: Fix buffer size calculation media: hantro: postproc: Fix legacy regs configuration media: hantro: Store VP9 bit depth in context media: hantro: sunxi: Enable 10-bit decoding media: hantro: sunxi: Increase frequency drivers/media/v4l2-core/v4l2-common.c | 3 ++ drivers/media/v4l2-core/v4l2-ioctl.c | 2 + drivers/staging/media/hantro/hantro.h | 4 ++ drivers/staging/media/hantro/hantro_drv.c | 23 +++++++++ .../staging/media/hantro/hantro_g2_vp9_dec.c | 8 --- .../staging/media/hantro/hantro_postproc.c | 34 ++++++++++--- drivers/staging/media/hantro/hantro_v4l2.c | 50 +++++++++++++++++-- drivers/staging/media/hantro/hantro_v4l2.h | 3 ++ drivers/staging/media/hantro/sunxi_vpu_hw.c | 13 ++++- include/uapi/linux/videodev2.h | 2 + 10 files changed, 122 insertions(+), 20 deletions(-) -- 2.35.1