From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC2E7C433F5 for ; Fri, 17 Dec 2021 17:13:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239712AbhLQRNp (ORCPT ); Fri, 17 Dec 2021 12:13:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239704AbhLQRNn (ORCPT ); Fri, 17 Dec 2021 12:13:43 -0500 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5E1CC06173F for ; Fri, 17 Dec 2021 09:13:40 -0800 (PST) Received: by mail-qt1-x832.google.com with SMTP id v22so3278796qtx.8 for ; Fri, 17 Dec 2021 09:13:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ndufresne-ca.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=w0ePfBRpZ4tnDRs/xE4SxppW2MhJaXJI3jPg1l0ZidU=; b=d0r+zumEWRCd8edkxDtAelIdbks/tvrSjd2WRBcpFrggZYpGv8CcpuyYipF+dIcD4X ujm5de4JcFhieLwM3uDJ/7a9q+qbGcNj6odnsUrmY5hUkTJqN7RWtW6M62qsPCrmEN22 MZ1PWjnfebddZ4YNdcZ+ItYvMVfyOeTazjqPIJrb5C4Njpce8ZF87VPpdK2bo8hOPORw UxIMl/WKvHz7KvQ2hQ0Vt39EH4VDRNM/mp+KF37kguTSzTb33C0AtevcY7YAi4ZydTF4 QL8A7ILJWjdpr55XZ6yxqdbR2Z1nur635t9qEopilsGB9hc2oL+pa55JGJ93C5pTZNT8 f1ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=w0ePfBRpZ4tnDRs/xE4SxppW2MhJaXJI3jPg1l0ZidU=; b=fH5mTBzWArdg/C+TkZDwU1+5PZlZsgePm1yLquIBrP2NSlRiGIryQhyCsuVltyAqA3 xZ8YMGk/Iq6WL7842NAx5pLcZZ0mowFaHslvjwVwtkzMSWel7Dbhwunmy19Ke5FxXBb9 TJ8zDWsXoDrzReLH112ri/+/EKpAj3dWSoAfdXZCQTFkWD+TRnqZ+nKj8wguwEXoRm+M 9Jlc7AbpszP5bY3KpM/SxtgIGWhA4vlcR8s9oQ05YwaoxfOUXsLkc2SpZ7vqHEGu0n+y 1AH9aAySfjd+8E+FFyJZ6Q+Qee3ak5ugYdOBIBF0z215bCVskRy0dTiaysHU7XYs18rV iQvw== X-Gm-Message-State: AOAM530d8YfWE5M8ywPCghDgR2dgDDcsb0uiJbW2I4vhdh5gOMpDk6v8 gfCwTKiKXXPBS7W+9zWnxCjLfA== X-Google-Smtp-Source: ABdhPJxJBL27ebJZdMFF/QRhavMPKPNPSJTTnJf3ixn7JU2VNH70vq6aREGcCANw5VyzSQrlwn44Xw== X-Received: by 2002:a05:622a:612:: with SMTP id z18mr3252353qta.616.1639761220040; Fri, 17 Dec 2021 09:13:40 -0800 (PST) Received: from nicolas-tpx395.localdomain (mtl.collabora.ca. [66.171.169.34]) by smtp.gmail.com with ESMTPSA id 8sm7864127qtz.28.2021.12.17.09.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 09:13:39 -0800 (PST) Message-ID: <8438070708d16c34c0f79aba19e67fa343adb169.camel@ndufresne.ca> Subject: Re: [RFC 0/5] arm64: imx8mm: Enable Hantro VPUs From: Nicolas Dufresne To: Adam Ford , Ezequiel Garcia Cc: Tim Harvey , linux-media , Schrempf Frieder , Marek Vasut , Jagan Teki , Adam Ford-BE , cstevens@beaconembedded.com, Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Greg Kroah-Hartman , Heiko Stuebner , Lucas Stach , Joakim Zhang , Alice Guo , Peng Fan , "open list:HANTRO VPU CODEC DRIVER" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list , "open list:STAGING SUBSYSTEM" Date: Fri, 17 Dec 2021 12:13:37 -0500 In-Reply-To: References: <20211106183802.893285-1-aford173@gmail.com> <718f7f6d6cd564d031c1963f1590c62d549ae725.camel@ndufresne.ca> <8db00a4b6faa99c940d9bc86e17161eb0db5efe3.camel@ndufresne.ca> <7f94eaacfddb8c5434c17f1e069ea87a17657ce9.camel@ndufresne.ca> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.2 (3.42.2-1.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Le vendredi 17 décembre 2021 à 07:15 -0600, Adam Ford a écrit : > On Thu, Dec 16, 2021 at 10:49 PM Ezequiel Garcia > wrote: > > > > Hi Adam, > > > > > > > > I will post a V2 last today with the Mini's post-processing removed. > > > Someone, I apologize that I forget who, mentioned it was fused out of > > > the Mini, so the testing I've been doing was with that removed and I > > > removed the H1 encoder since the Mini doesn't support JPEG encoding. > > > > > [...] > > > > Resurrecting this thread here. IMX8MMRM Rev. 0, 02/2019 mentions > > post-processor features for G1 and G2. > > > > Have you checked the fuse and synth registers to see if they throw > > any useful information about the hardware? For instance, > > comparing PP fuse register (SWREG99) and > > Synthesis configuration register post-processor (SWREG100) > > in both 8MQ and 8MM could be useful. > > > > As I mentioned on my previous mail, even if G1 PP is disabled > > on the Mini, I would imagine the G2 can do linear NV12 (aka raster-scan) > > which in our hantro driver jargon is a "post-processed" format :-) > > You're likely right. I was going on memory from an e-mail from > Nicloas Defresne who wrote: > > "I will check the patchset, but you need in the mini-variant to disable the G1 > post processor, because this block was fused out. We didn't make it optional > from the start as according to the V1 of the TRM it was there, but that error > was corrected in V3." > > In my head I assumed the G2 was affected as well, but when I double > checked his email, and based on the above statement, the G2 > post-processing is probably there, so I'll run some tests with the G2 > post-processing enabled. I'll also double check those registers on > both to confirm what they read. I am not sure when I'll have time > because I leave for London next week, and I won't return until early > January, but I'll do what I can. Sorry if this was a bit ambiguous, indeed I meant the G1 only. I've learned later that the design of the Mini is that there is a good pre-processor in the H1 block (encoder), so for the targeted use-cases this shall be sufficient for most users (the output of the G1 is suitable for GPU and Display already, so the post processor is not strictly needed). regards, Nicolas > > adam > > > > Thanks, > > Ezequiel