Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp94203lqo; Wed, 27 Mar 2024 07:50:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkunR7ilVrW8m02F53Bm5Itbxbo8SX8FE7EnBrg0I9h3joxdVmfFSZnhixErv6NxoQM9msAzDW31r+TGMEyqWLtYa3Ae3uthi/vr6+oQ== X-Google-Smtp-Source: AGHT+IF6DyrRKzmtR8ZSkwdi09W0uCRVSWjpV9Z+pDkgYQWlz1h1L7+eriVm8brDuvtaL9MVqYNe X-Received: by 2002:a05:6808:188f:b0:3c3:b164:ad26 with SMTP id bi15-20020a056808188f00b003c3b164ad26mr152887oib.39.1711551045158; Wed, 27 Mar 2024 07:50:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711551045; cv=pass; d=google.com; s=arc-20160816; b=D0CXqQqPUAdCqvvmlZu0HkAGjVOduPVQD3OFtpFK1289T5EDQhfJd+K+otk/x3FGjY gcyI02SjzigvLlpSwZbq1Xbm7epbTcF1KeBaCrzJv/9AXQ/bVhabpG+Z1PBbkSmh8kuv 0NBJcP7sNoK1s4vmiUIyDC+0zfADtqqQWpdAh9dCNSTxwNxZNB0ndPCpwJ32LybS0gmG A+vKPxfh0IUmQuZZbZVzVl6LMHR0tF2zrtBQPMzbZMbGKiqLUgBl9NW0rqO1rPYjgaic qEPeUBrb7WwJGiWxjU4SGce9LRKJ10hIu23WnZp4vAd/wXZKwQgaMxhlQDu6ypgTCPSe yEVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=425/JIrUOfwZ7OXxSKoQezZWCz3PwekYKzEaxPQBkuc=; fh=OxaUnKG0867Tm8iJR5/YiZuwDdfGySfA9Sp69ZPAJso=; b=wcGnvP1G25cN+T0NsMHG8D0lZYeRRr7o+Zxiyd/4MCVfp7PjDYrH2wlFEoL5r5/Snz HujsknvboxQFO2gAZBp9h36qpItZ77ly8XLtQx+3Uhr2LQDWB5Kg9B6P9c0Upg15ptcP NZQ8N63XUBSk3W95WMATfr+Bc1A/FlbXroaJLQVsePDfS4ozwcDEYY+FaExu0My+6Zty i+9RUxxbD4Aus1FhAq9CTsYzI3S1MKy+ohtJbTvHjlbWZFGuLy9coJ42YdCBjYCuF5S6 uA4G2WQZTiD2eO3X+ctU+d+s58lXXtRfNmvXfO4lDTrTdV5cF7iwfihNq2kopF3f79KB Sfmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=linkmauve.fr); spf=pass (google.com: domain of linux-kernel+bounces-121380-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121380-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z12-20020ae9e60c000000b0078a1ec51af1si9980067qkf.437.2024.03.27.07.50.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 07:50:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121380-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=linkmauve.fr); spf=pass (google.com: domain of linux-kernel+bounces-121380-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121380-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AFC8E1C2EC4C for ; Wed, 27 Mar 2024 14:50:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DB8315B114; Wed, 27 Mar 2024 13:41:23 +0000 (UTC) Received: from luna.linkmauve.fr (luna.linkmauve.fr [82.65.109.163]) (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 A213413E6A7; Wed, 27 Mar 2024 13:41:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.65.109.163 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711546882; cv=none; b=D8FI8YPwA6eb0eDS4KxlXck6C88aZgMN4ikv9dsXU+zvMtjk8kwLFbj8v60b0WGOW5D6hHWLPUm5xT89Sjx7tI98oMEZMtC0Aqa0rtjQM2WzDsYjnc6E044vOyLdR4wb7FL01Td4kOjRTaTZO3PBqQhYAZ2WfOOWb0s+UMmdh9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711546882; c=relaxed/simple; bh=/S4IWm1bOUDdQzjRcd0RwcMn1ixl8bXGZC9Ys5RBy54=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qqJ23E7eYdJM+7aVlCTGftqKqssneE271Xku2OgZshvCV7a+UQjjO3NHVCgzn6/CIqqqMB2lX0mM92v/a8boS2BTe0w8OxnS//nhBQR/I3YMoUNmSr4NYtV64P9rnsRTKBRlsfzx/veeM8TkEPhXYdyXBG92J+MB/Jb3XxGArD0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr; spf=pass smtp.mailfrom=linkmauve.fr; arc=none smtp.client-ip=82.65.109.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linkmauve.fr Received: by luna.linkmauve.fr (Postfix, from userid 1000) id E969D101AF33; Wed, 27 Mar 2024 14:41:16 +0100 (CET) From: Emmanuel Gil Peyrot To: linux-kernel@vger.kernel.org Cc: Emmanuel Gil Peyrot , Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Joerg Roedel , Will Deacon , Robin Murphy , Sebastian Reichel , Cristian Ciocaltea , Dragan Simic , Shreeya Patel , Chris Morgan , Andy Yan , Nicolas Frattaroli , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev Subject: [PATCH v2 0/2] Enable JPEG encoding on rk3588 Date: Wed, 27 Mar 2024 14:41:10 +0100 Message-ID: <20240327134115.424846-1-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only the JPEG encoder is available for now, although there are patches for the undocumented VP8 encoder floating around[0]. This has been tested on a rock-5b, resulting in four /dev/video* encoders. The userspace program I’ve been using to test them is Onix[1], using the jpeg-encoder example, it will pick one of these four at random (but displays the one it picked): % ffmpeg -i -pix_fmt yuvj420p temp.yuv % jpeg-encoder temp.yuv NV12 output.jpeg [0] https://patchwork.kernel.org/project/linux-rockchip/list/?series=789885 [1] https://crates.io/crates/onix Changes since v1: - Dropped patches 1 and 4. - Use the proper compatible form, since this device should be fully compatible with the VEPU of rk356x. - Describe where the VEPU121 name comes from, and list other encoders and decoders present in this SoC. - Properly test the device tree changes, I previously couldn’t since I was using a too recent version of python-jsonschema… Emmanuel Gil Peyrot (2): media: dt-binding: media: Document rk3588’s VEPU121 arm64: dts: rockchip: Add VEPU121 to rk3588 .../bindings/media/rockchip,rk3568-vepu.yaml | 8 +- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 80 +++++++++++++++++++ 2 files changed, 86 insertions(+), 2 deletions(-) -- 2.44.0