Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp958206ybb; Fri, 3 Apr 2020 15:14:35 -0700 (PDT) X-Google-Smtp-Source: APiQypJaRq5IdodFl3ZPtdtE5BN6jc8REagZmyyCQsWr6N2QWSfk+brI1Qaz+UyVDphBO1xWQKr/ X-Received: by 2002:a9d:2aca:: with SMTP id e68mr8500053otb.324.1585952075050; Fri, 03 Apr 2020 15:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585952075; cv=none; d=google.com; s=arc-20160816; b=yYYXM/jZWQflB52IFmSoYcs7zRB0NwvIKDLzbYwEHStk7+aWswqRwXngYPZXxL5QuH KMzds0Q2YwzJx3yg58L35TCiEpVXpjdd4sEsTc9Pu/2Mmklpb0Fg0tAQ5wrH6t/tjsku HFAnl7Nur/SHXf3F0fTYOY+2D/049VrJlTE2F20DPCOp+FgzRXuw7r8/zq5tshj4rcJz HfXAQiZc5ObjRORaaONubccxFRv3j8rrQJ4ONWxfu/UMFoT5k2o3HhWzE/54faT9pVqT qsLQMyGI9oeNHsmdJZxBQzCDxpEqXDoJs+qDeHoAhwRsjowW7IeJzj+vauZSNnyYPemT 2ijQ== 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=U1gAgitzV8dfnkYuZP4LYVDeryBP3MgECzTLvmumbiU=; b=NwRRAiVt9NSk9LKLccOadOyTLxNU9RALlJLHQl3ZLhPwdOpKcAsURmFZGNdvCMf/Hz ov9/h5xg/cJzoDbA7NE9Zba8lymWfdDf1rYYeZ5nGiWrHRvs+uaeidsPUoneCeQLRzyH ptEvzJbDhR51GEnReJsHswtS38XN02u0EPsBTc+KV2vPpf8w9s57z30jzwztehVP1hrN +yYXkIVgxr2BK8VAWJKvrsBjXXPo9AKbLeYP+FGODzOT2YuWT9e2T2JZwRFPTPrUNdqq XVqbycuqRhOUS7L98jTwSwt0kO6GWpFo253bXRUy21bFL7G9SvGSSvKH9BSaXgDDiL3U Cn2A== 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 z90si4270730otb.47.2020.04.03.15.14.20; Fri, 03 Apr 2020 15:14:35 -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 S1728729AbgDCWN6 (ORCPT + 99 others); Fri, 3 Apr 2020 18:13:58 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60972 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728636AbgDCWN6 (ORCPT ); Fri, 3 Apr 2020 18:13:58 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id A298B293EAE From: Ezequiel Garcia To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tomasz Figa , kernel@collabora.com, Jonas Karlman , Heiko Stuebner , Hans Verkuil , Alexandre Courbot , Jeffrey Kardatzke , Ezequiel Garcia Subject: [PATCH v8 0/5] media: rockchip: Add the rkvdec driver Date: Fri, 3 Apr 2020 19:13:40 -0300 Message-Id: <20200403221345.16702-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 v8 of Boris' rkvdec driver, to support H264 decoding on Rockchip RK3399 SoCs. Support for VP9 is planned, but not covered by this patchset. I've addressed the feedback from Andriy Gelman and fixed two warnings reported by the 0-day bot. While here, this is now rebased on top of Hans' latest pull requests. 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 | 1103 ++++++++++++++++ drivers/staging/media/rkvdec/rkvdec.h | 121 ++ include/media/h264-ctrls.h | 8 +- include/media/v4l2-h264.h | 85 ++ 19 files changed, 3104 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