Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp977363iob; Fri, 13 May 2022 18:20:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGxiCAJ4/9enL8jeAMZXfGqDcUEIoNSPtARFnx3P7SSCfMrpZji6NFglDuuX0Wr7qK7IXr X-Received: by 2002:a5d:4806:0:b0:20a:da03:711b with SMTP id l6-20020a5d4806000000b0020ada03711bmr5724919wrq.395.1652491222084; Fri, 13 May 2022 18:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652491222; cv=none; d=google.com; s=arc-20160816; b=jlL9DMFvFTjeTRdtiFqGTdh2Qg8CFpnouyZgXuL2Fx2E6+KLVsAXAww6ubBb6fTBjQ KpSLB/7zPJDUEdYDsP2Qu8GtT1UxAatrntWhR7Lz3uyZu0mNE2ElplYL95MSwViGtCKy eKD7YrRNEfm5ByjQ8+ViewIvQxDfHTLrVaFQn1PWnruXJT1fRrEvcIzvgt60a+NJf8gK u0LEKpDBwQqMvKrKcpqccioQF9jki8Irry8ybUud02GGc+Q3+2RQqvCizX64YRz52iu+ rnGvX1DJfzab9pRRgv3f+ZT4qiaxwfOAPcxF0YMd/5xPbo/66uKNJKRHhT6WkedsAVip c8Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bRtyFOj4UebEQ/0IceSv2P5SF4WZQfY2D+vqjMQw9lo=; b=dknRaNMs1bw1SyCeS+lhvSF3aFGNDErDVZdAVG1NpLDAdCcWGh0WkfQiIb2SnilXLW qh4IgVa6vREKxDt6FRZ2b51zUsCqqH8nijpWDAKgzOf3aQUvNa7Ki5afeTH54D8CS5dJ E7ciTqY771vVUOZpT1JJIAv5DSmRKLpGkDJ1DzD2vYGKTNyAyiQD8Y2YIj4cAE2qiW1k 8l+OkysU8qwnSHRhxOboLATQQOugfMW/peMUH7CAHX/gCUBFQh6/Q0op9mZt3eD1KpQt BzVa/0sRYhhenCO6dxPDCUBtL08A01ydf70UL0fIVax+Z45D/41hfuVM4lqb8BEgrfhY A63A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=MiRat4ZX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o3-20020adfeac3000000b0020ce0164177si3310763wrn.67.2022.05.13.18.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:20:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=MiRat4ZX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ECA583C5010; Fri, 13 May 2022 16:50:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358130AbiELTja (ORCPT + 99 others); Thu, 12 May 2022 15:39:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358114AbiELTj2 (ORCPT ); Thu, 12 May 2022 15:39:28 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BCA7268E91; Thu, 12 May 2022 12:39:27 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 9771C1F45802 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1652384366; bh=l7sEGPwFChsQe883K+Tm9Z1Antz2QzvNm5fjecKjZro=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MiRat4ZX8kCJFkC9cOzTnSv5u0RYAj5LmdftjvZ1b1Pv9LYRgjAST3ZsIo14/Lq4U 8xjLPDuf16rEYbWZ25pXgAcaLIyyeGdtuKjf8bdi0+QLHfeZ2ohyGerWTSeHNHdDvn Ib43klOczH6uRZgywp9LsyfFRvRH5pfDlwqHlIFO9rPjL1/d8B+vK5eaeAYN3qQWRG KmTKJRc/r1PjnE4gZJAQXS4FtikcBXIcjODVsKltLiZMdBActDruHRZc1VVFXM/ONE +prPluUCKcrIuhvfPHz0j9YwwJRP7A5AFJQEal2Gv8u66T2XYwLMr9+TzLghEU447M nNJXeXWcALSOA== Date: Thu, 12 May 2022 15:39:17 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Yunfei Dong Cc: Alexandre Courbot , Nicolas Dufresne , Hans Verkuil , AngeloGioacchino Del Regno , Benjamin Gaignard , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Tomasz Figa , George Sun , Xiaoyong Lu , Hsin-Yi Wang , Fritz Koenig , Daniel Vetter , dri-devel , Irui Wang , Steve Cho , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v12, 00/17] media: mtk-vcodec: support for M8192 decoder Message-ID: <20220512193917.tu6waopwagm3oyaz@notapiano> References: <20220512021950.29087-1-yunfei.dong@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220512021950.29087-1-yunfei.dong@mediatek.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 12, 2022 at 10:19:33AM +0800, Yunfei Dong wrote: > This series adds support for mt8192 h264/vp8/vp9 decoder drivers. Firstly, refactor > power/clock/interrupt interfaces for mt8192 is lat and core architecture. > > Secondly, add new functions to get frame buffer size and resolution according > to decoder capability from scp side. Then add callback function to get/put > capture buffer in order to enable lat and core decoder in parallel, need to > adjust GStreamer at the same time. > > Then add to support MT21C compressed mode and fix v4l2-compliance fail. > > Next, extract H264 request api driver to let mt8183 and mt8192 use the same > code, and adds mt8192 frame based h264 driver for stateless decoder. > > Lastly, add vp8 and vp9 stateless decoder drivers. > > Patches 1 refactor power/clock/interrupt interface. > Patches 2~4 get frame buffer size and resolution according to decoder capability. > Patches 5 set capture queue bytesused. > Patches 6 adjust GStreamer. > Patch 7~11 add to support MT21C compressed mode and fix v4l2-compliance fail. > patch 12 record capture queue format type. > Patch 13~14 extract h264 driver and add mt8192 frame based driver for h264 decoder. > Patch 15~16 add vp8 and vp9 stateless decoder drivers. > Patch 17 prevent kernel crash when rmmod mtk-vcodec-dec.ko Hi Yunfei, With this series, and the new scp.img for mt8192 [1] (still waiting to get merged), I was able to get the following fluster scores on mt8192-asurada-spherion: VP8: 59/61 VP9: 249/303 H.264: 92/135 So for the whole series: Tested-by: N?colas F. R. A. Prado Thanks, N?colas [1] https://lore.kernel.org/all/2537b84fbba82a77ee0a517b12bdcdd5e6ac1503.camel@mediatek.com/