Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1088298pxb; Fri, 26 Feb 2021 02:08:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+E1o33IlR9lBWxACcjvaCtc9kjnlg+YTxoHanwO84UfJ0aw6DLB1ZKe55C34jslOCQIRh X-Received: by 2002:a17:906:934f:: with SMTP id p15mr2389684ejw.473.1614334127555; Fri, 26 Feb 2021 02:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614334127; cv=none; d=google.com; s=arc-20160816; b=sKiwvNk8JMrhc1jXrGI2GUgIAqFYoywvKJkcibneK/11SPpCeWisRj4P3FDcffWFRn 0k5Eh36dCZqs8X4U4EVdaZv2DzGjz7KUvhWwzTuIBbZO0e532i0SNBnN3RZbWxV0oWXJ fUkY0c+wc+5ytbeyr/P1Ro/sSx2XP29hJHn60D05ABnVD1PNlj2XNutDXVoITDI8Us4C MJ083JX99QB92rn7NeGjvajgjlEI3MrE/0VY2Qs+nbG94Pm90f4Qutu8t5y6vRTFrHNZ ahqX0y+1MsYYtbBNWqzajirkSgvPcsfYJzy1yMBW5LiTY3n90vqcjU+0TNocm9SNvtoP hndQ== 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=WQNDkU+500oaLNnr6/H87wLcS76179lgtjRrVGbRbo0=; b=tui1+W5GO3VIValGRiOcVHmkJdLoA2Ci40aRLxg/VjiXG7zal059H0dXsFjf36gjyD 8/hCfPlWfAkvt08HWVSJ5o0V9ifcWyJl0USs02ODEYgXqp63O49i1uoFXRD11hxeB2yN 2YkWFro4uh7XNvJVb/81uXxLppZaibOtObNpU37Li8Vz1+6CX1XG4EycKlh/kR8+1v4g AYqiXbVIykO1n/oheunoKTAysM0rhA8oFkHo3KOhZDyccPXgxAYHMb5AQtN0AGVto293 6U1PVj6BcbiMUgbvY60f7q0oXTKZch4sTJBOKhXGtIfGETTBIB76rIHgxRhxNRfSMKZl LwKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=l2WhSkGp; 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 e4si5558478ejd.689.2021.02.26.02.08.25; Fri, 26 Feb 2021 02:08:47 -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=l2WhSkGp; 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 S230476AbhBZKGP (ORCPT + 99 others); Fri, 26 Feb 2021 05:06:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230502AbhBZKEF (ORCPT ); Fri, 26 Feb 2021 05:04:05 -0500 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C92F6C061223 for ; Fri, 26 Feb 2021 02:02:26 -0800 (PST) Received: by mail-pg1-x52d.google.com with SMTP id p21so5902688pgl.12 for ; Fri, 26 Feb 2021 02:02:26 -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=WQNDkU+500oaLNnr6/H87wLcS76179lgtjRrVGbRbo0=; b=l2WhSkGpCkFNMw34fBmnRV9rSwS8Nn+50Rp/1Amx+5a3ZFCVm3W368JJVBq/7pUlK6 THRAyocynBiFi0dEZz83aA28m9Nu/XWbwo+ogouGmuTiZ+7HyWcxNAFW06Mp96/BuWXu mqH/HshaCcS4iR0faPqQwNCNOFBDzqQq7M8DM= 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=WQNDkU+500oaLNnr6/H87wLcS76179lgtjRrVGbRbo0=; b=S9+xyFLgWUhyMDASOdtQhCuzh7Z1qz2sa6MACxjbcFw4h78l8KfGMYvKOIAjS9qBd4 2t2IBDRwrDchvxNzYesPRjhLT3SgKJulTWl+0Ez2mO0qjX5VAOTwsxP6mmHXhtDpyd11 LrbAkGfvKua1+pliZ13RNJ34mKMCQgUkvIhWls8rwXfvAl5EtqTVBc7j5b3TqgCxhVQW D8gilSM1+tl+inCZN2YKKgiDx/pAcHOhos4ecMY9L1HAMIwqtq9zYxLCSo60rnTuoj0N UambnOHRQxPYLK8B13xQ1Q3VgyCwcJJyaE1A45zamUU8+vALIPVgYQYyd9wFi+6rUiz8 i7Hg== X-Gm-Message-State: AOAM531pwLHy2ic+XSnOb+yUvLU6L2mIMp1O3jgx4dlL6qCBSJ9Ai5Iz IG0Tls0ewaOjsQ7r4qN5NOwouw== X-Received: by 2002:a63:4d52:: with SMTP id n18mr2177885pgl.237.1614333746419; Fri, 26 Feb 2021 02:02:26 -0800 (PST) Received: from acourbot.tok.corp.google.com ([2401:fa00:8f:203:5c91:233c:dd5b:b1b0]) by smtp.gmail.com with ESMTPSA id o23sm9201565pfp.89.2021.02.26.02.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 02:02:25 -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 v3 09/15] media: mtk-vcodec: enable MT8183 decoder Date: Fri, 26 Feb 2021 19:01:42 +0900 Message-Id: <20210226100148.1663389-10-acourbot@chromium.org> X-Mailer: git-send-email 2.30.1.766.gb4fecdf3b7-goog In-Reply-To: <20210226100148.1663389-1-acourbot@chromium.org> References: <20210226100148.1663389-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.1.766.gb4fecdf3b7-goog