Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp291965pxb; Thu, 25 Feb 2021 02:40:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxs8MrVn84sTOd8ZuL/7KbYnXMK5UnUD9odrgGng96SNMhZ8AQ+ifcPCi8xUHXe6wYkHvPo X-Received: by 2002:a17:906:2bc2:: with SMTP id n2mr1964088ejg.381.1614249636890; Thu, 25 Feb 2021 02:40:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614249636; cv=none; d=google.com; s=arc-20160816; b=ccq4gYHMG0RIaoWzvF3OuQR3+21/NZh/EqrI86VlUlW9VKxDurbMQi9LBTQZ+OGur4 wSRPwM6V2N/UNZooQtzsYvgy5E7mBJf1Y+jxzBnaTSrGrWRHN2kYy66AOSJQte+dFmOC QjliC/M/kw6Etib0PGYwTVD4Z00TDXbl+BIholn1AppNykw5reAj4t8GKMAiMLuF4kYr 12fqs/mi/r1JzoBblKU3S4pl72w1NPjs9DMScIQnR/isoZPRGrMlz4KtIezs4bnuscUB x5GEnlssM9UY0NSNTnMGBzvIjXrxFCZbArmapnyiLPhBiyp5HsJthCp/oI0p1DECjyxh rMRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+yS+AHb3s866k2lU1xZg4tYpUdbOibtq7glaYxaE4WE=; b=YeQ/rDzqmHVG8+BKHxDBYoQZxsnu4VsmUxGMuvVcMS1U0HQt4oaWDEILfrAzKnN9hA BrRImzRQ1xhll2GQneiX6xWXFXrCsSv3+YWncNCTB0HD2vA+4uFbkfe+RZ9H/k4ZprL9 JzGzvB+AaS8MQ6cxP8klCKnkd91wVf/K0tXjWT/VbvfKfEtFWUyTqnzYqFmNBOvGtEFL nRnODHkb36bAlu+5+0APEDCpbTOlzttPNnhBrBazqOzrexrajuqtoExJJw5AmLbqNKp0 IJC8TW+rMK3BYEiSMoEJEndFfqC+PHjlkS5gANezh6FiklL5V/H6AuF7d+KaZSj5poll +dMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=G+uLU8+y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si4113528ejo.67.2021.02.25.02.40.14; Thu, 25 Feb 2021 02:40:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=G+uLU8+y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234754AbhBYKjp (ORCPT + 99 others); Thu, 25 Feb 2021 05:39:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235539AbhBYKSb (ORCPT ); Thu, 25 Feb 2021 05:18:31 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62A6EC061225 for ; Thu, 25 Feb 2021 02:16:49 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id e9so3267212pjj.0 for ; Thu, 25 Feb 2021 02:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+yS+AHb3s866k2lU1xZg4tYpUdbOibtq7glaYxaE4WE=; b=G+uLU8+yUATiEZ5HzQaduPeaScP4CKUMHIXLp99zpPe/n1rYF1y5KD8PyO5+Uhb4oZ S+oZod2AvWjLkHachJAObSMbOwqQlTr1xTS2cvLtMvtG3S1MR/v5+73nRnNvgOGfvg3J uPH+TQjr8WmHfXhrLVK3f3CFm4qtrXr42dWzo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+yS+AHb3s866k2lU1xZg4tYpUdbOibtq7glaYxaE4WE=; b=i/01jRWCLfrC2hoJ0VFf0nFYtjIkUrpK8F89J3uwKmzuxu+/S+Zm6rxJQ1CSoV21JA 01hyfkUp3bxG059uSL6WDxKmIKZZyAgiemkfQdVIUWXVdMmHnS0AwnVEgt6C8dCkH+i5 CQeI2k6tmrIIMZ9Ebc/Ladp2vzIX3eI+8vIRFsT2kRw0qETx7rWXSCDkaWJHZg+PU57m h29DTN5x9Rqm8JL2H5HDPy3ZU2xHqUyBUAr3fj3dTi6wtwQXmBPv00rGY+UHVY8nQUqP G+cNf9cMUqKUMFITlxLW/8J6Xd1/R8tjh2mopWu6uwuWBTp6ySDc6wI7rPYTQPi2YqMO gNBg== X-Gm-Message-State: AOAM531JqCZ5XLkfkisWc2ydkt6T2GYyyFyi8MRiNlTu8mqZQEP0XdrS eNmX4+gKGnIsViovPEi3Y12gtv+EuBF23g== X-Received: by 2002:a17:90a:1616:: with SMTP id n22mr2620982pja.110.1614248209010; Thu, 25 Feb 2021 02:16:49 -0800 (PST) Received: from acourbot.tok.corp.google.com ([2401:fa00:8f:203:2550:3154:2c53:b6e7]) by smtp.gmail.com with ESMTPSA id z2sm5848193pfc.8.2021.02.25.02.16.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 02:16:48 -0800 (PST) From: Alexandre Courbot To: Tiffany Lin , Andrew-CT Chen , Rob Herring , Yunfei Dong Cc: Mauro Carvalho Chehab , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Alexandre Courbot Subject: [PATCH v2 8/8] media: mtk-vcodec: enable MT8183 decoder Date: Thu, 25 Feb 2021 19:16:12 +0900 Message-Id: <20210225101612.2832444-9-acourbot@chromium.org> X-Mailer: git-send-email 2.30.0.617.g56c4b15f3c-goog In-Reply-To: <20210225101612.2832444-1-acourbot@chromium.org> References: <20210225101612.2832444-1-acourbot@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yunfei Dong Now that all the supporting blocks are present, enable decoder for MT8183. Signed-off-by: Yunfei Dong [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot Signed-off-by: Alexandre Courbot --- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c index e942e28f96fe..e0526c0900c8 100644 --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c @@ -383,12 +383,17 @@ static int mtk_vcodec_probe(struct platform_device *pdev) } extern const struct mtk_vcodec_dec_pdata mtk_vdec_8173_pdata; +extern const struct mtk_vcodec_dec_pdata mtk_vdec_8183_pdata; static const struct of_device_id mtk_vcodec_match[] = { { .compatible = "mediatek,mt8173-vcodec-dec", .data = &mtk_vdec_8173_pdata, }, + { + .compatible = "mediatek,mt8183-vcodec-dec", + .data = &mtk_vdec_8183_pdata, + }, {}, }; -- 2.30.0.617.g56c4b15f3c-goog