Message ID | 20240229023522.15870-4-jason-jh.lin@mediatek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-86049-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp136178dyb; Wed, 28 Feb 2024 18:35:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXZRxMQWhT0hYaFJNtzbf4pWv7wODQf+muWF5sFxZSVmAvZuiBj8uT/LdiIFjEFKrbeVaQtQa5KlpooSSUp51vxP55SNQ== X-Google-Smtp-Source: AGHT+IHE5HuTbOD3uWjk9LIV210Whf5xDUID2hkt7JhH7UsqiYvlm+l+58l/VUroUVU31uOj+ENq X-Received: by 2002:a17:906:b43:b0:a3e:d7fe:4c4d with SMTP id v3-20020a1709060b4300b00a3ed7fe4c4dmr438070ejg.57.1709174153329; Wed, 28 Feb 2024 18:35:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709174153; cv=pass; d=google.com; s=arc-20160816; b=TE1icIhW/irTlDi12doiVTtt2XXPK+0oXIbmm3iVxBqqFi2n5tmx1jgaj/zLr+R0ds nCd5+TEnvdxpWKbxDP+qUfnIx++pIuI/FBDwSuz3zNytcfewlCVHWfKanUY8Jtzrwldl 4DlgxCEboqw9Slw1vipjGtiRLSMi/WAVyzA2YSH+i9VHE7Xzr1Boz4jQLOVEbLEIHmBO zrCV9YJPf6GG4DRDmwKBLYe/T8MWn7Dfveq13W4bDdeHBeWE2XAec+/nKTyCnuNtuTJr iR0Con7y/glEBpVzH2yBMVTkFRAQ/dqMuvp0fl5mY6VsbrH6KtpahcMgK212ncn5LglK gTTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XaVzzEKLqlVT7sak1W3gpXJYjbW2WBJmYyNteM6/XIA=; fh=Ai0mTXzI1IEpr3AXaUr5RGm8S69zHzYUPf0DW9EG7O0=; b=xysAIsXY1iyMENBAuL86trQJcI4sKLJP8B1HJuks1s9cBONfWdGplAD4Ixiowu1Xbt 9KqiYPqj3ZOdk3ZVjNleNWNUirjiVtpC19586rC1A6HaVnSrOM9u46FcLmfIZlG2F1bL zMyTlsZxCOoGKroRXsFsyfGKczA9rpCbTkp5VNUABHlh9C+0eLnHe9NwRfGWqWfvLO5w buIUyX3ZVELfTvskRsWB13tXjjQEKfhZgQbr5WZ+Vyo7pZUEPlKZhYz13LJlE1DSY1QE kAx60eIeHIp0ejZ5yQfCCz7fXNb/0geKFoBcZlmkMlhlebpM7BZ/6g2zRAIZauL0mjaB 54zA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qzRo017Z; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-86049-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86049-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p18-20020a1709060dd200b00a430171a385si145756eji.833.2024.02.28.18.35.53 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:35:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86049-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qzRo017Z; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-86049-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86049-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EB31F1F22843 for <ouuuleilei@gmail.com>; Thu, 29 Feb 2024 02:35:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF28837169; Thu, 29 Feb 2024 02:35:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="qzRo017Z" Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8565F4C63; Thu, 29 Feb 2024 02:35:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174135; cv=none; b=X4dljd7uzf4nrdqopHLUnyWJ+f8nSfQhsuH7xFAiPEX6u9aqDQqwstewcwb2MmUayUnGXk0Mnm25+pjFQpApCIKO78XIyzKGusWiuEn26L+37cm2eTB/vkqHnn/O1PDksjGTwC23AV8zP42f+oZUH9eLStf/UsahPmEarFcE5CM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174135; c=relaxed/simple; bh=DsAyPJ37OxxoBvZR0yBQGZ3qATSDJP1looy5w/QK7K4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PtL9NbIUlagBBqRJIfHl5Xfp/cPcTDClMMMs6xww9Feezk6SWfq8aTrcB66kjKuGhjUlJu/GDIAGZ0R1u0GwtxOiNdiMSKKMENfGzBD18RqdvCZQp2Lnrgzhv32ley0KNpqtjlvj0YRR1e7RtLYLvg37yLvx5bApN2vttyR7jrk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=qzRo017Z; arc=none smtp.client-ip=60.244.123.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 31f81170d6ab11eeb8927bc1f75efef4-20240229 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=XaVzzEKLqlVT7sak1W3gpXJYjbW2WBJmYyNteM6/XIA=; b=qzRo017ZhtAtQEAEiH9V5M3Bu2iOnqoqnDxpLbNM+uLqSdIRmeMxmy7Xf7Jx0mFYFOi/4fpMqEo51gx8qKFnFP13U3HoUCS+pmGeuzQ3Zr0rttP/CJnbMYPZk1OewkrLuuK03QyUml/NubfZXehtXmrSg9fJRF+hiHbu0hIYatw=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:400ac54b-6d3f-4d38-adb7-56a2aa67a05c,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:6f543d0,CLOUDID:cbded48f-e2c0-40b0-a8fe-7c7e47299109,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1, SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 31f81170d6ab11eeb8927bc1f75efef4-20240229 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from <jason-jh.lin@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 457524622; Thu, 29 Feb 2024 10:35:26 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 29 Feb 2024 10:35:24 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 29 Feb 2024 10:35:24 +0800 From: Jason-JH.Lin <jason-jh.lin@mediatek.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Chun-Kuang Hu <chunkuang.hu@kernel.org> CC: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <dri-devel@lists.freedesktop.org>, <linux-media@vger.kernel.org>, <linaro-mm-sig@lists.linaro.org>, Jason-ch Chen <jason-ch.chen@mediatek.com>, Johnson Wang <johnson.wang@mediatek.com>, "Jason-JH . Lin" <jason-jh.lin@mediatek.com>, Singo Chang <singo.chang@mediatek.com>, Nancy Lin <nancy.lin@mediatek.com>, Shawn Sung <shawn.sung@mediatek.com>, <Project_Global_Chrome_Upstream_Group@mediatek.com>, Fei Shao <fshao@chromium.org> Subject: [PATCH 3/3] drm/mediatek: Add gamma support for MT8195 Date: Thu, 29 Feb 2024 10:35:22 +0800 Message-ID: <20240229023522.15870-4-jason-jh.lin@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20240229023522.15870-1-jason-jh.lin@mediatek.com> References: <20240229023522.15870-1-jason-jh.lin@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792198997074532030 X-GMAIL-MSGID: 1792198997074532030 |
Series |
Add GAMMA 12-bit LUT support for MT8188
|
|
Commit Message
Jason-JH Lin (林睿祥)
Feb. 29, 2024, 2:35 a.m. UTC
Since MT8195 compatible is in the single enum group, we have to add its
compatible into mediatek-drm component binding table to ensure that
it can be bound as a ddp_comp.
Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++
1 file changed, 2 insertions(+)
Comments
Il 29/02/24 03:35, Jason-JH.Lin ha scritto: > Since MT8195 compatible is in the single enum group, we have to add its > compatible into mediatek-drm component binding table to ensure that > it can be bound as a ddp_comp. > Reviewed-by: AngeloGioacchino Del Regno <angelogiaocchino.delregno@collabora.com>
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 14a1e0157cc4..93303bff8f34 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -707,6 +707,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = { .data = (void *)MTK_DISP_GAMMA, }, { .compatible = "mediatek,mt8183-disp-gamma", .data = (void *)MTK_DISP_GAMMA, }, + { .compatible = "mediatek,mt8195-disp-gamma", + .data = (void *)MTK_DISP_GAMMA, }, { .compatible = "mediatek,mt8195-disp-merge", .data = (void *)MTK_DISP_MERGE }, { .compatible = "mediatek,mt2701-disp-mutex",