From patchwork Sun Feb 27 14:49:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12761869 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93424C433F5 for ; Sun, 27 Feb 2022 14:50:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230444AbiB0OvI (ORCPT ); Sun, 27 Feb 2022 09:51:08 -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-Google-Smtp-Source: ABdhPJx9vkMDAjlbJa6ZoafcNpXzzrgRLL6r//RkTA9DQ26x/9ZskSxSIwV77psWiiCzvNT1ZYH34g== 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@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(-)