From patchwork Wed Dec 27 17:39:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianfeng Liu X-Patchwork-Id: 98340 Received: from am.mirrors.kernel.org ([147.75.80.249]) by www.linuxtv.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rIXtR-00HFtF-LA for patchwork@linuxtv.org; Wed, 27 Dec 2023 17:40:35 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 13C3C1F23046 for ; Wed, 27 Dec 2023 17:40:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFE9F46531; Wed, 27 Dec 2023 17:40:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aePgUTaU" X-Original-To: linux-media@vger.kernel.org Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BA9946522 for ; Wed, 27 Dec 2023 17:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-5bdb0be3591so4174211a12.2 for ; Wed, 27 Dec 2023 09:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703698821; x=1704303621; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aICOkkCHGNPQkQGVFyZfBHeeGOMAQbdF3pXGNaUoSUU=; b=aePgUTaUerRaiLQ8mDeYwDgn5627xyef/6E0y2RLYzblVS3Ap5fMkAwOachK7W/rLw 16FFwE2Uo5vGtiwJTVvxLTFFPKhgKqW/aoZwoaJz2vdjlqgEWs/snpWtL+DLE2I+xgou gn2sibY/uEt8TLi9eqqM3NQoBjCaT026nmXJ19c4+R4OyVaEzIhyw9zM9nN2frz5L20Z GjpFLuLPzBB+K+OS29MhxsZPaonMvnS+Y/mS1qPr+SSd1320mlV8IFuf8ahuoS4DjkgP 6Tej0rx4IkS7lbeMD4wXB9MOKvAqJtF0ZDICjCVVmIcJulw6gOwfyCqoXYY5M3oDJ75X 0m/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703698821; x=1704303621; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aICOkkCHGNPQkQGVFyZfBHeeGOMAQbdF3pXGNaUoSUU=; b=fltrjQM4q9Te3G2KshgGdn4Vq47osbPoJgaNOevxyfM02CncpFj7U7ibxCPVieW+zi 8KMvY3t0hC89pJv69iBC/Rv0o0shGirScETfgjMH/uEWraNitvq0rEkoz2Y8mxVAskMv 4amFYJa3qHAVV+m536ChDxe6YZdPBm//PHatrsmFQcgQBJX+vzQkVIHxb93/S9dZPclI YahQcFvpAYzgQ55V76Ilombdg7kmrkG3cKIXExzPDzj5jYJLJWPbVa0mgoLNTT5hv8NV iNJhG1fuh11cYe2Goz0urGT5UMKvQ4yOpGYW2Jjd1kd9AzumLZyLbKoeAT0p/qVNlQSs jhUg== X-Gm-Message-State: AOJu0Yx+gD8Pz/pseVkutrEnHoFMn8nP5/+UbAekgSK0i0l6qAj6XPQH dIErkclUG83L+HOSJ+MNkxdqjpCpHsfbZCZLN5L2JA== X-Google-Smtp-Source: AGHT+IE6iIJQBzPABV2cyYEQs/jOBGsJ39Ar/sHlptyKt2nwnr2ZHJkRH9I7kuSy3D3KFB7d9LpuUw== X-Received: by 2002:a17:90a:8911:b0:28c:8dc0:7eda with SMTP id u17-20020a17090a891100b0028c8dc07edamr1072224pjn.91.1703698821022; Wed, 27 Dec 2023 09:40:21 -0800 (PST) Received: from localhost.localdomain ([2408:8207:2540:8c00:3708:559:ea20:9883]) by smtp.gmail.com with ESMTPSA id qb4-20020a17090b280400b0028aecd6b29fsm17240262pjb.3.2023.12.27.09.40.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 09:40:20 -0800 (PST) From: Jianfeng Liu To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: liujianfeng1994@gmail.com Subject: [PATCH 0/3] Add hantro g1 video decoder support for RK3588 Date: Thu, 28 Dec 2023 01:39:08 +0800 Message-Id: <20231227173911.3295410-1-liujianfeng1994@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-LSpam-Score: -4.8 (----) X-LSpam-Report: No, score=-4.8 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FORGED_FROMDOMAIN=0.001,FREEMAIL_FROM=0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3 autolearn=unavailable autolearn_force=no RK3588 has Hantro G1 video decoder capable to decode MPEG2/H.264/VP8 video formats just like rockchip's former socs like rk3399 and rk356x. Tested with FFmpeg v4l2_request code taken from [1] with MPEG2, H.264 and VP8 samples. [1] https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/multimedia/ffmpeg/patches/v4l2-request/ffmpeg-001-v4l2-request.patch Jianfeng Liu (3): media: verisilicon: Add support for Hantro G1 on RK3588 arm64: dts: rockchip: Add Hantro G1 VPU support for RK3588 dt-bindings: media: rockchip-vpu: Add RK3588 compatible .../bindings/media/rockchip-vpu.yaml | 1 + arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 20 +++++++++++++++++++ .../media/platform/verisilicon/hantro_drv.c | 1 + .../media/platform/verisilicon/hantro_hw.h | 1 + .../platform/verisilicon/rockchip_vpu_hw.c | 14 +++++++++++++ 5 files changed, 37 insertions(+) --- 2.34.1