Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp687917rdb; Thu, 18 Jan 2024 16:20:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVpjltWEdmdjcXr9A8SjjOW9OaREeN/g4/5e0+eK6/7P2dhn3/55evASkJnuy2TU29T5Fz X-Received: by 2002:ac8:5e4a:0:b0:42a:d40:a043 with SMTP id i10-20020ac85e4a000000b0042a0d40a043mr1610890qtx.133.1705623615162; Thu, 18 Jan 2024 16:20:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705623615; cv=pass; d=google.com; s=arc-20160816; b=xh5JCYUpIqWWT0NJEAttru/8JpA1SmNcbCiQEU3ibTZ/RP0f94XcLMJu9LFz7QER02 fINkEuvv/v6CA/IIMTtgkIlGxMTPnY5zwHd+drfRcURnZeQoYE16aUz6XV7YzVLAOl9B stJmsXogX32O/TUL1YHtA3UvuQtAYD1nLhwRDrnnPxNZ3Ru+fdphoj7uHm43a/xSRCz/ QnqDkuB7UmBjZg26ikHfWjlx3RT/Lw3pwmWzmQdAwbTd8o+sz91PGU2hsBY5gN48CMDN dkYdFVFBrhSf/0Dhk0gkgoAd4da6dczDGfIUDbWfl+PW7T11t5ROhCFn7gxZTH2eMenC q34g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=nhk4KIpFoW3go0xMs8gft3n3SAiaXQPK/lZKUl9AxEY=; fh=TWjH8A+K6P0rXmc5alZ3dJz59WhYyNuiaugDMpubrkM=; b=lCcb8iMDodjHaBnhpHHEzIokCJz9NCuG81obm6hoac29BFdUH+JJudfTYnf00qBIcw C9km7oe5wYRKwZmR1ff50ka7kl+Z4NffE9+WYNy7PBXYPgnupiQNxwMXTP5sBldTax8z ISJqhiqDo2BIfXGXKXO6avtIIxBuKCaFCwEZOc9VHgADKbWvbyIsHKUViQd/wCkWu2F+ DXUrQRJYFugamB23yM7oWF/8DACvbLQc7lHif93AZd6Z8MdWwfjlWVYnwTUhAD28xC3p wwvy9kJX3/y6Qq5Xvh14EMXdW1jifigduAYpKvrVt55a2U7gRreJQtu8rMoJJ4DxV424 z/fg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ndufresne-ca.20230601.gappssmtp.com header.s=20230601 header.b=Z8YBglC+; arc=pass (i=1 dkim=pass dkdomain=ndufresne-ca.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-30586-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30586-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 d11-20020a05622a100b00b0042a1f7352d6si1557443qte.539.2024.01.18.16.20.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 16:20:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30586-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; dkim=pass header.i=@ndufresne-ca.20230601.gappssmtp.com header.s=20230601 header.b=Z8YBglC+; arc=pass (i=1 dkim=pass dkdomain=ndufresne-ca.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-30586-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30586-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 139181C24923 for ; Thu, 18 Jan 2024 21:51:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C32F2E85D; Thu, 18 Jan 2024 21:51:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ndufresne-ca.20230601.gappssmtp.com header.i=@ndufresne-ca.20230601.gappssmtp.com header.b="Z8YBglC+" Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (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 619212EAF9 for ; Thu, 18 Jan 2024 21:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705614678; cv=none; b=H4xlDHrQKd6ZeZw4Q5Iv/XeorHHs7UUeXrrXdB5/LdCVilsYFnLAT/lLUSmJgXRATCoX+hhIs4pt8nLnbXTFC0quB8vt6jQ3LEy+ASZYWwXJ18LMw0COLrZqZcxqJ/++702LaXRPDckAu0iOzIB2O4uVkT9tEj7GI74X/FIt1HU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705614678; c=relaxed/simple; bh=EW4GgO79tM0kh74EqEgdTANw9zj1cbLCONoBa8UPMNQ=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=fV0KTRfYLHKDV1RD8l+ENwcWqcATfzrUorvT33xcqWCPmQq6eD4o+C+ojXk/dCEnOxl8qFMWt+BZkQsexSkJpakhvvT/QPFKWERC0Nz9UvlNBwfHJb5cPsgVSUembOfKA506mU2e7NxsP8Jl/Z7RMuFLknVZnb5iV9sFQNFXhgM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ndufresne.ca; spf=none smtp.mailfrom=ndufresne.ca; dkim=pass (2048-bit key) header.d=ndufresne-ca.20230601.gappssmtp.com header.i=@ndufresne-ca.20230601.gappssmtp.com header.b=Z8YBglC+; arc=none smtp.client-ip=209.85.210.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ndufresne.ca Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ndufresne.ca Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6dde5d308c6so75164a34.0 for ; Thu, 18 Jan 2024 13:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ndufresne-ca.20230601.gappssmtp.com; s=20230601; t=1705614676; x=1706219476; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to; bh=nhk4KIpFoW3go0xMs8gft3n3SAiaXQPK/lZKUl9AxEY=; b=Z8YBglC+Le+cFsTn/WMWj+S3wbi3u0rK40+GMCoO8e/3EFn6elqLcDA61zB00uUhX/ Jozsp+4y8kbLELy5LQX7bkBOdpdp6W6Mt24wu9a4AQ3+1kBEdOciD82/jLO9Fp6YZwTE eVUjRnD72VQtX10MRgbxn24a42ZppwGAgLjwDv/ibloJ7tW/NxNl5r4h++h1F3pS8E3/ qeRFQtx73RLQ8m5MIxVt7eqdAwtoUmEJMevYH6klAZgPyfFOwjd2otvaNaUbVxSg45Xj 8SSql8CM+a4d9/zKrOjr/R67s0+PGqrl/jbGCQQNZQYSVikvxe8QFUEHRsg5y1I9LY0I axQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705614676; x=1706219476; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nhk4KIpFoW3go0xMs8gft3n3SAiaXQPK/lZKUl9AxEY=; b=OgWJ9y/+S5w8kRNSVacvRKQA7qItQTOum3ee9pAQZjczgHm0/U4z0XuMdu8pJgs8fE CYYgNAiWWFwWaIneOK/T6CJt3PoKFa33bJKjtbFgAp9bpMt50pdcVnKRDJ2cV2g19hBz mBFINpI98kYqidpVee78fQPYpqG63kVJ10UYDGSxdvGZIlrHos9vVtoaUACzEeIPgc7l S5uoel4SmJ8VZsExJCq4hCHMylqMLAVdPXbT8R7SzkZSX1fHvj49NQ2UYCrkHG2R/Y42 sBX/lYgd0uz5g3KyQ6ZXPckrVeTwSbozVIx86gI84vL467+iymuhHqEjtdXrf4egJSj7 VSJQ== X-Gm-Message-State: AOJu0YxN/tR0I17+4uqzjISu2LGVkv8rkWmqvE/mKllRGwHMSEblsQ25 IB5aT+U+uCaoTrMjAtxR8aWlZaz9DacriADClpBK3iUQ4cFy7SxqU6FUK/EJ9vY= X-Received: by 2002:a05:6830:5:b0:6e0:c35c:241d with SMTP id c5-20020a056830000500b006e0c35c241dmr1508100otp.75.1705614676589; Thu, 18 Jan 2024 13:51:16 -0800 (PST) Received: from nicolas-tpx395.localdomain ([2606:6d00:11:3354::7a9]) by smtp.gmail.com with ESMTPSA id ge9-20020a05622a5c8900b00427b3271ab4sm7147198qtb.41.2024.01.18.13.51.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 13:51:16 -0800 (PST) Message-ID: Subject: Re: [PATCH v3 0/2] [v3]Add hantro g1 video decoder support for RK3588 From: Nicolas Dufresne To: Piotr Oniszczuk , liujianfeng1994@gmail.com Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, elezegarcia@gmail.com, Ezequiel Garcia , Heiko =?ISO-8859-1?Q?St=FCbner?= , knaerzche@gmail.com, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, "open list:ARM/Rockchip SoC..." , mchehab@kernel.org, Philipp Zabel , Rob Herring , sfr@canb.auug.org.au Date: Thu, 18 Jan 2024 16:51:15 -0500 In-Reply-To: <2CFF2A39-6416-4599-AD32-E99EF95F5A36@gmail.com> References: <5490507acc121113e52a8cdddb155fddf6dbb374.camel@ndufresne.ca> <20240118113051.10773-1-liujianfeng1994@gmail.com> <2CFF2A39-6416-4599-AD32-E99EF95F5A36@gmail.com> Autocrypt: addr=nicolas@ndufresne.ca; prefer-encrypt=mutual; keydata=mQGiBEUQN0MRBACQYceNSezSdMjx7sx6gwKkMghrrODgl3B0eXBTgNp6c431IfOOEsdvkoOh1kwoYcQgbg4MXw6beOltysX4e8fFWsiRkc2nvvRW9ir9kHDm49MkBLqaDjTqOkYKNMiurFW+gozpr/lUW15QqT6v68RYe0zRdtwGZqeLzX2LVuukGwCg4AISzswrrYHNV7vQLcbaUhPgIl0D+gILYT9TJgAEK4YHW+bFRcY+cgUFoLQqQayECMlctKoLOE69nIYOc/hDr9uih1wxrQ/yL0NJvQCohSPyoyLF9b2EuIGhQVp05XP7FzlTxhYvGO/DtO08ec85+bTfVBMV6eeY4MS3ZU+1z7ObD7Pf29YjyTehN2Dan6w1g2rBk5MoA/9nDocSlk4pbFpsYSFmVHsDiAOFje3+iY4ftVDKunKYWMhwRVBjAREOByBagmRau0cLEcElpf4hX5f978GoxSGIsiKoDAlXX+ICDOWC1/EXhEEmBR1gL0QJgiVviNyLfGJlZWnPjw6xhhmtHYWTDxBOP5peztyc2PqeKsLsLWzAr7RDTmljb2xhcyBEdWZyZXNuZSAoQi4gU2MuIEluZm9ybWF0aXF1ZSkgPG5pY29sYXMuZHVmcmVzbmVAZ21haWwuY29tPohgBBMRAgAgBQJFlCyOAhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQcVMCLawGqBwhLQCgzYlrLBj6KIAZ4gmsfjXD6ZtddT8AoIeGDicVq5WvMHNWign6ApQcZUihtElOaWNvb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ERRA3UhAIAJ0rxl2HsVg/nSOAUt7U/T/W+RKzVAlD9orCB0pRVvyWNxSr8MHcH mWCxykLuB34ouM4GuDVRKfGnqLzJRBfjs7Ax9K2FI3Odund9xpviLCt1jFC0K XL04RebrFT7xjDfocDaSLFvgxMVs/Jr2/ckKPId1oKvgYgt/o+MzUabKyFB8wIvq4GMtj3LoBKLCie2nCaSt7uVUt6q2t5bNWrd3lO6/mWn7YMc5Hsn33H9pS0+9szw6m3dG08eMKNueDlt72QxiYl2rhjzkT4ltKEkFgYBdyrtIj1UO6eX+YXb4E1rCMJrdjBSgqDPK1sWHC7gliy+izr+XTHuFwlfy8gBpsAAwUIAJJNus64gri4HAL632eqVpza83EphX1IuHzLi1LlMnQ9Tm7XKag46NhmJbOByMG33LwBsBdLjjHQSVkYZFWUifq+NWSFC/kqlb72vW8rBAv64+i3QdfxK9FWbweiRsPpvuHjJQuecbPDJpubLaxKbu2aqLCN5LuHXvdQr6KiXwabT+OJ9AJAqHG7q4IEzg4RNUVn9AS6L8bxqMSocjqpWNBCY2efCVd/c6k4Acv6jXu+wDAZEbWXK+71uaUHExhigBYBpiHGrobe32YlTVE/XEIzKKywhm/Hkn5YKWzumLte6xiD9JhKabmD7uqIvLt2twUpz4BdPzj0dvGlSmvFcaaISQQYEQIACQUCRRA3UgIbDAAKCRBxUwItrAaoHJLyAKDeS3AFowM3f1Y3OFU6XRCTKK2ZhwCfT/7P9WDjkkmiq5AfeOiwVlpuHtM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (3.50.3-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Le jeudi 18 janvier 2024 =C3=A0 14:53 +0100, Piotr Oniszczuk a =C3=A9crit= =C2=A0: > > Wiadomo=C5=9B=C4=87 napisana przez amazingfate w dniu 18.01.2024, o godz. 12:30: > >=20 > > Before rkvdec2 launching mainline >=20 > Ooooo - is there concrete plan for this? >=20 > Asking as imho rk35xx can be really nice multimedia soc. >=20 > Can be=E2=80=A6. but is not due current lack of hevc/vp9 hw decode in mai= nline due lack of rkvdec2 support > This seems to be clear blocker for many multimedia use cases :-( >=20 > Having rkvdec2 support via v4l2_request in mainline imho will make rk35xx= killer soc for multimedia=E2=80=A6. >=20 > ps: rkvdec support seems available since years on mainline and works well= . > So maybe rkvdec code base can be basis to gradually added support for rkv= dec2? > =C2=A0=C2=A0 You'd be surprised that we are still upstreaming HEVC/10bit and 4:2:2 suppo= rt (well Jonas is) and are missing a proper solution to some needed HW reset l= ogic (to fix concurrent decoding). Though all these exist in some form in LibreE= LEC patchset. When this is behind, Jonas reported that he might be interested in looking = into rkvdec2. Consider that his is volunteer work, but it would indeed be amazin= g. The HW work blob free (no firmware needed) supports up to 8K (rk3588). Som= e early work on adding encoder interface for this type of HW is also in progr= ess. The AV1 decoder for rk3588 (which is a chip from Verisillicon, not RK) is already upstream. regards, Nicolas