Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1974505ybb; Sun, 29 Mar 2020 18:47:20 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs0zOJU+cqsU+OktBhWqSLTDF4NLECyoxtDuDFOVubvAhYfOIaiEXd1h4T/X5SiW6ptLi1e X-Received: by 2002:a54:4181:: with SMTP id 1mr6340984oiy.158.1585532840609; Sun, 29 Mar 2020 18:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585532840; cv=none; d=google.com; s=arc-20160816; b=cchkBe9fA611x69haL+Zm18mMvQnEWwY0pUfmuByVoufu97/+RTwkI+oxiyag20wRR qVG+YrxNWcUry6JEjs875/4MQujJk3ysV3XLjP/PH6idvaK/mabBtfjJImHto45F4L5D DjXVFz130qppZ25LAJ5A9uu0gjE9fSbZpDcPsVW+Y4DZLuQuCQ4K/dNDpIG0lCpETU1H jDvEafBDL0JdLToxo0ob+KsLAyXHDwkjoZKBRyOLyVLkLCYy4bPW6E1VXegVdw4Uj27Z kvaV50gZoDazOUc/Zr7iIBI8YZOYx0lSJ89JuCB29iYmids2h6V8G9Njnf2sja0SK44M 8fLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=gp3786kS0FzgOUBig4zZnQ4fm3LUau7FtwHSNUW/c24=; b=fEt2MncPYaD8DNVDxR+PZRIiFc2KHSd7JWsTOyetV2/IWneJbukIj/b2fxl9j32Zra aXCm2VB6yV3CILFVeQriY8P14XFZxK8jnKS+CqjTflmhuG0pOzpwVNfNSpKPeJTSn+qU YwgSwvjeZh911d7+LM+OELSawCUy8TE4VK6FW0NF+Zk3AylAQSMERF2MkpXZJvUXWtZl FxijNmkXDshF0Pn4093pDOFqCUhghW/flXciES82UY0UHFxXQC3/VB7zDbfFoGNzvCjt wkOh5B95VNGv3AO+w0w2DRf/anFXDiCuE4soStKxe1oq6+nuJcXWFYjxOl9lpHWHLJic 7tbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w29si6271784oth.24.2020.03.29.18.47.06; Sun, 29 Mar 2020 18:47:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728124AbgC3Bqb (ORCPT + 99 others); Sun, 29 Mar 2020 21:46:31 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:53446 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727801AbgC3Bqb (ORCPT ); Sun, 29 Mar 2020 21:46:31 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 0B49F2946E4 From: Ezequiel Garcia To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Tomasz Figa , Nicolas Dufresne , kernel@collabora.com, Paul Kocialkowski , Jonas Karlman , Heiko Stuebner , Boris Brezillon , Hans Verkuil , Alexandre Courbot , Jeffrey Kardatzke , Mark Rutland , Ezequiel Garcia Subject: [PATCH v7 0/5] media: rockchip: Add the rkvdec driver Date: Sun, 29 Mar 2020 22:46:11 -0300 Message-Id: <20200330014616.10621-1-ezequiel@collabora.com> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This is v7 of Boris' rkvdec driver, to support H264 decoding on Rockchip RK3399 SoCs. Support for VP9 is planned, but not covered by this patchset. This series addresses Mauro's reviews on the h264 helpers, and hopefully this time it's ready for merge. However, everyone is encourage to take another look, provide feedback and of course do some testing. Thanks, Ezequiel Boris Brezillon (5): media: v4l2-core: Add helpers to build the H264 P/B0/B1 reflists media: hantro: h264: Use the generic H264 reflist builder media: dt-bindings: rockchip: Document RK3399 Video Decoder bindings media: rkvdec: Add the rkvdec driver arm64: dts: rockchip: rk3399: Define the rockchip Video Decoder node .../bindings/media/rockchip,vdec.yaml | 73 ++ MAINTAINERS | 7 + arch/arm64/boot/dts/rockchip/rk3399.dtsi | 14 +- drivers/media/v4l2-core/Kconfig | 4 + drivers/media/v4l2-core/Makefile | 1 + drivers/media/v4l2-core/v4l2-h264.c | 270 ++++ drivers/staging/media/Kconfig | 2 + drivers/staging/media/Makefile | 1 + drivers/staging/media/hantro/Kconfig | 1 + drivers/staging/media/hantro/hantro_h264.c | 237 +--- drivers/staging/media/rkvdec/Kconfig | 15 + drivers/staging/media/rkvdec/Makefile | 3 + drivers/staging/media/rkvdec/TODO | 11 + drivers/staging/media/rkvdec/rkvdec-h264.c | 1156 +++++++++++++++++ drivers/staging/media/rkvdec/rkvdec-regs.h | 223 ++++ drivers/staging/media/rkvdec/rkvdec.c | 1111 ++++++++++++++++ drivers/staging/media/rkvdec/rkvdec.h | 121 ++ include/media/h264-ctrls.h | 8 +- include/media/v4l2-h264.h | 85 ++ 19 files changed, 3112 insertions(+), 231 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/rockchip,vdec.yaml create mode 100644 drivers/media/v4l2-core/v4l2-h264.c create mode 100644 drivers/staging/media/rkvdec/Kconfig create mode 100644 drivers/staging/media/rkvdec/Makefile create mode 100644 drivers/staging/media/rkvdec/TODO create mode 100644 drivers/staging/media/rkvdec/rkvdec-h264.c create mode 100644 drivers/staging/media/rkvdec/rkvdec-regs.h create mode 100644 drivers/staging/media/rkvdec/rkvdec.c create mode 100644 drivers/staging/media/rkvdec/rkvdec.h create mode 100644 include/media/v4l2-h264.h -- 2.26.0.rc2