Message ID | 20240226080721.3331649-1-fshao@chromium.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-80724-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1930072dyb; Mon, 26 Feb 2024 00:07:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUyMiZhkgHgnnZYn8yxPbNRBrn5kNfnFXkyzndagoyG2KWSwuckj5GirG/hXbwqcisilkOGLKpOQpbBdf9I1SKi4xNsRg== X-Google-Smtp-Source: AGHT+IFFMkUvzFXw1HEZRywaCG3POH3NButwWuT6fPiUxkMDXd4RvJjAk38kqZ5OL1c6WxxxV2ej X-Received: by 2002:a05:6a20:d906:b0:1a0:f84f:86cf with SMTP id jd6-20020a056a20d90600b001a0f84f86cfmr2824559pzb.35.1708934879341; Mon, 26 Feb 2024 00:07:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708934879; cv=pass; d=google.com; s=arc-20160816; b=QGDFjRvLO8GuSYSOZwEBIcmD924cUXuTavTBKueOQGQZ1QSdQawuBGB1ALaMfFhtOi lChqzhJzXgYpzQ2woG/8o20kQ293mP+Fcl0jP6MFARRnAm0cfhuwmjVWxjbiVEEuo9K7 TQFusjGu+FLt5g5I7unmcwvmjBiGPbpsyx0qZNfxJ1SWngwuDE2Uf5gALOkcXe5zlEwe UoNuvoL8ayrJ1OCMICwOtUsyCgzBW84ZfAVy+ONFmUsVDrJ5Z+AntsfHHGXazWUiq2b2 wPVKTvJLnLbVzYECuJ/myYlIFfN0UbRJN9e/Udsp1U1Ol6SEIKKKI+NWVttcWupzo1b3 1P5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=kBcIHteoHnr9Cz5N/WAN5bt6cpSYHYQ7aU0W3fZEze8=; fh=2DCDYxtzz9IcfkjocHiwIiCIrP037W0NVtGk5e9hatI=; b=icC1AqdCHjotZu9WzwYYd1YkDVMrKSm8pecJdx6C+XhLHF+H3S6EJEEh/ZyuDeOK+X FLkSdqfEeGN27440wGfLnFgk+TWJKkpTa25VSvEOEjXbNDatiZQwTJRObjzzI2UGbjUv gWL/C7t+svQqcjjeEEAG3liE8cnJcYYEePBkP4vTZcXRr9WETvJD35NXr6Yfgnf4/H8z Qo1ZMpB5H1ekYM038xZefQAMgtuvvjVAFY0RVoevYvg3E6JkoOb/gxreipTcE1BuQs62 bdJRBTzPFsYl7qqqdjrZI9DRoKjA8F7lNbF+QggOCmUHffPlAEm9dd4pQE/A52wCSZ/b fVHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mUCw3JOx; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-80724-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80724-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p14-20020a170902ebce00b001db6043dd97si3307727plg.246.2024.02.26.00.07.59 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 00:07:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80724-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mUCw3JOx; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-80724-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80724-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2CB0D2865E5 for <ouuuleilei@gmail.com>; Mon, 26 Feb 2024 08:07:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B26B1CD17; Mon, 26 Feb 2024 08:07:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mUCw3JOx" Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 249581CAAA for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 08:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708934851; cv=none; b=l9eH84PYmwiHphAkulrWQlE5v6FpRf2czCZq6E038X+bN9mkn+C+2rPch+3NXnRoiD8iqQKKEMAKfbVp/9pPIWrcCoJahT2iWOxd17sf9IZ/F0q5GCz65OhdD4n+9vWbop5lwoCh8h5O9Kw06bqJHkGS+kL4VgfrcXMRzd6tYZM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708934851; c=relaxed/simple; bh=Y4ODKzD7DJxpkg5gUieFJDFj3mNebdbaYiTeggdrUe8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z4Ax/778QLeQ2QKueP47OAS4184tSQqHSwjtKlyBMtYBdmPuMCm0QUuUIFeRd6z+g66aA3iarFeccVOEtP/ZyXxiSafZzXuG8NBzGdN+yDMisS7J6KCpRzeJBIGABI5jYhx3I7jpVc8Df3lNeyM1wk+d8WR1rhRdB15U/H0pStw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=mUCw3JOx; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1dc5d0162bcso22798035ad.0 for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 00:07:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708934849; x=1709539649; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kBcIHteoHnr9Cz5N/WAN5bt6cpSYHYQ7aU0W3fZEze8=; b=mUCw3JOxBn1+9bIO0lhdwtd2etxcRQsfgvWpDT9m5/QwTwGuKjQS3eotp7RrBqYW8/ z1LvhXcUczsun3aA7F3Oadi8vkpjxqeEQlKwbiKjmmUheXiMqjK29KA4o09nb4PZOiZG SiByTLYb7CjfHlsQUyKnsZFleCQ97q6Wl1PTs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708934849; x=1709539649; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kBcIHteoHnr9Cz5N/WAN5bt6cpSYHYQ7aU0W3fZEze8=; b=lKCac8EFYtmekdi46be5pBzcR3XTB7LDe3vshqMEnh5NZIPXmh300Xx/mnn0YwOt0H O8ZNrHhhp77RiJJ9q669J0tEzjewemR/jQ8v0ndN1CjcKIK7N41yf/7qjBIwPT9Z5Hcf OLEQuVor9e/jzUcQhNVcP9di61Eti3MCi1F37mTfIzHBHDQQ4PDIN0xB2q1bH7WQjQCL m4FyB1nn/WI1sDbTmQN2U5rXKTQGsKW8bM7l963Qas6Hkjnl3HFggWcLvn9KSlUzaqHZ kW04M9Jnfbf7ihDMVOobva9/QXFacf8+jo/pDYOCvz7QfP0TzmLA/DV2abDGLSpOzPq2 dr5g== X-Forwarded-Encrypted: i=1; AJvYcCWk5IPDMtlz6dtYwSNJYEKruVMNruydbUiHCcnMXEdIPuKcYnTNZWwVDAcX9T9ZkEjU36ApSndQwIj0UExOLSmdyGgNDL3zYEHpKah3 X-Gm-Message-State: AOJu0YyA97oln6UNOjWIF6TXOgCh4CCh31gVYlw8wexce3xavtTekB8t IZaQmOKxSX+Jpk9BVULbAu1FV2VGB8xCuXgBC27KmFWlNGuH/OsgMuLh9mL8YQ== X-Received: by 2002:a17:903:548:b0:1db:bd6b:d1fb with SMTP id jo8-20020a170903054800b001dbbd6bd1fbmr5145701plb.63.1708934849429; Mon, 26 Feb 2024 00:07:29 -0800 (PST) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:e3f5:67aa:a8f3:8179]) by smtp.gmail.com with ESMTPSA id le6-20020a170902fb0600b001dc95cded74sm1953660plb.233.2024.02.26.00.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 00:07:29 -0800 (PST) From: Fei Shao <fshao@chromium.org> To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Chun-Kuang Hu <chunkuang.hu@kernel.org> Cc: Fei Shao <fshao@chromium.org>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Matthias Brugger <matthias.bgg@gmail.com>, Philipp Zabel <p.zabel@pengutronix.de>, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] drm/mediatek: Support MT8195 OVL compatible in mtk_drm_drv Date: Mon, 26 Feb 2024 16:06:47 +0800 Message-ID: <20240226080721.3331649-1-fshao@chromium.org> X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog 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-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791948100341594237 X-GMAIL-MSGID: 1791948100341594237 |
Series |
drm/mediatek: Support MT8195 OVL compatible in mtk_drm_drv
|
|
Commit Message
Fei Shao
Feb. 26, 2024, 8:06 a.m. UTC
Specify the component type for mediatek,mt8195-disp-ovl in the MediaTek
DRM driver on top of commit 76cdcb87d391 ("drm/mediatek: Add MT8195 ovl
driver support").
With this, the compatible can function as an independent fallback for
other display overlays without relying on MT8192.
Signed-off-by: Fei Shao <fshao@chromium.org>
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++
1 file changed, 2 insertions(+)
Comments
On Mon, Feb 26, 2024 at 4:07 PM Fei Shao <fshao@chromium.org> wrote: > > Specify the component type for mediatek,mt8195-disp-ovl in the MediaTek > DRM driver on top of commit 76cdcb87d391 ("drm/mediatek: Add MT8195 ovl > driver support"). > > With this, the compatible can function as an independent fallback for > other display overlays without relying on MT8192. > > Signed-off-by: Fei Shao <fshao@chromium.org> Please disregard this patch. With the feedback in [1], I can also fix the issue from within the SoC's device tree. Even taking a step back, I just learned that this is a duplicate of [2], so it makes no sense to merge mine in any case. Sorry for the noise. [1]: https://lore.kernel.org/all/c4814e25-42c9-4604-b86a-8ef0bd634f78@collabora.com/ [2]: https://lore.kernel.org/all/20240215101119.12629-3-shawn.sung@mediatekcom/ Regards, Fei
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 14a1e0157cc4..703caba48420 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -739,6 +739,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = { .data = (void *)MTK_DISP_OVL }, { .compatible = "mediatek,mt8192-disp-ovl", .data = (void *)MTK_DISP_OVL }, + { .compatible = "mediatek,mt8195-disp-ovl", + .data = (void *)MTK_DISP_OVL }, { .compatible = "mediatek,mt8183-disp-ovl-2l", .data = (void *)MTK_DISP_OVL_2L }, { .compatible = "mediatek,mt8192-disp-ovl-2l",