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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1695C433F5 for ; Wed, 19 Jan 2022 11:28:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E464710E997; Wed, 19 Jan 2022 11:28:16 +0000 (UTC) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by gabe.freedesktop.org (Postfix) with ESMTPS id 52BC210E71D for ; Wed, 19 Jan 2022 11:28:15 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id BB5251F42FBE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1642591694; bh=lb7PPlcJ+GrMTYv/gT1LuwvO/b872pTbvdtVBiWTWtY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=FI84BMt5ymarsviUxIfVek2WSCGHenxzSp/V9xEAzp/naQnjWaEE+ph6KJ6URxnyD RjALW9mRrRtOVSDRt2UCx+WddhsLIP0AuL8h9bhZ7eTRkJIiGQJzVm1Dsq6uWiqkCH qUaCGhR4O6thcK62LABbAbE+uuRBLPvny0QyHADtXFHau/npGxjNZtqUEBGoouI7Xe oPsRthgEao7In+tmmKBXwvRYEcs/s1dET5oae7hb4/rfuEvWI4nMFw1IwEeFsm8hyv uFxBBCN76vlf16ErqiU2bk7H2nOiPSZb/GkltZyqWBqdeqmuEOO09BOM3Jqb2DkrI/ yvOQqSY7fAr0g== Subject: Re: [PATCH v5, 15/15] media: mtk-vcodec: support stateless VP9 decoding To: Yunfei Dong , Alexandre Courbot , Hans Verkuil , Tzung-Bi Shih , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Tomasz Figa References: <20220117094001.20049-1-yunfei.dong@mediatek.com> <20220117094001.20049-16-yunfei.dong@mediatek.com> From: AngeloGioacchino Del Regno Message-ID: <275affff-12d9-4659-e900-aa9c306e6701@collabora.com> Date: Wed, 19 Jan 2022 12:28:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20220117094001.20049-16-yunfei.dong@mediatek.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Irui Wang , George Sun , Dafna Hirschfeld , srv_heupstream@mediatek.com, devicetree@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, linux-kernel@vger.kernel.org, dri-devel , Xiaoyong Lu , linux-mediatek@lists.infradead.org, Hsin-Yi Wang , Fritz Koenig , Benjamin Gaignard , Steve Cho , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Il 17/01/22 10:40, Yunfei Dong ha scritto: > Add support for VP9 decoding using the stateless API, > as supported by MT8192. And the drivers is lat and core architecture. > > Signed-off-by: Yunfei Dong > Signed-off-by: George Sun > --- > drivers/media/platform/mtk-vcodec/Makefile | 1 + > .../mtk-vcodec/mtk_vcodec_dec_stateless.c | 26 +- > .../platform/mtk-vcodec/mtk_vcodec_drv.h | 1 + > .../mtk-vcodec/vdec/vdec_vp9_req_lat_if.c | 1973 +++++++++++++++++ > .../media/platform/mtk-vcodec/vdec_drv_if.c | 4 + > .../media/platform/mtk-vcodec/vdec_drv_if.h | 1 + > 6 files changed, 2003 insertions(+), 3 deletions(-) > create mode 100644 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_req_lat_if.c > Hello Yunfei, this driver is based on an older version of the VP9 stateless decoder uAPI, hence this is not applicable upstream. The latest linux-next tag (as of today) already contains the new and accepted code; can you please rebase over that one? Thanks, Angelo