Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3069900pxv; Mon, 12 Jul 2021 08:35:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyheYdB101dNFaCX+Y6i3w8459ZhBvYo6lcUY0VxdWXi4kOD1vDDeyXXTh9pVejzBssz+uL X-Received: by 2002:a6b:6209:: with SMTP id f9mr37642471iog.147.1626104128695; Mon, 12 Jul 2021 08:35:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626104128; cv=none; d=google.com; s=arc-20160816; b=UXvRUL6BtOFKPrDMTQcSF1L1kJFafSS3i+Pnla+uzGneLx/AoqGB3xnaUnHoJUhOUV erbLrNl9GSjfeUONiyL8efu9It02y1YObOzLvsYVCseIrGhWQwP11ocZ45hSsBfeTdHM wyvUErdAloe19TaSgbtupgoNtoSp8XDaz58QKYpBEj4Ki2UzQ/hVjSh00xySU20EYK+H MaWUUX3MDGOzVq63T1jKJqBf2uDhjoo/CfJl4lqv5XDavPirqKs6yzM4/W7xNUWD3P6z qBBqRF2+vv87PF8XJPoT7638Kjcq9kjVdf1DqCw7Pm30/PQ6x7DrrlFUJTXipOvw83dT kv0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8pt/9tDnd80EWiJU08KEwFrSVjOI3oT+go5mFLjrYKk=; b=YLPl5D3yoFtT+bW9n8JWUB7pDWT1oVYpHZwcAizihiv8VaA5x95Ps+x9CvRLx2Mfbs EK5n3ce+jVT8+7xbS2KeH5+rE5ikDZcOA9fOZKn1RBa7Vj3EB+rMNrGc7zIBdKscVmob rtWou0z+gnkhuf7n789Oj0lcbrxRFi90v5pg9qvbJeox21GY6TQdQaeMm6InhrL/wn3q Z5PQPvW24eg/23AIPY41T4o3X0iKpBNY8EKAnJm99p9JnuMCS8KQk/O/4dU+aCzgjTyg FmKWA24HuUnOihtt5sJnNZcaIEL4Yq9QCoQWuIpi+uEb6c9lrgVjcbPqyWTwQYIX/U2v 4eKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dN9t5tWJ; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si10723400iow.49.2021.07.12.08.35.12; Mon, 12 Jul 2021 08:35:28 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=dN9t5tWJ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235457AbhGLPgp (ORCPT + 99 others); Mon, 12 Jul 2021 11:36:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:45282 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232203AbhGLPgo (ORCPT ); Mon, 12 Jul 2021 11:36:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6B8BF61221; Mon, 12 Jul 2021 15:33:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626104036; bh=5X2UURg25rMrNoAilDfJ7k5RncDDoVLvR+Fw5b9WLPE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dN9t5tWJoXIcqxJmju4K9H9qiofOopREzVIeKkjPOyRWSxyMPc5+lr+BWCkfl61Qy eTun6f4aOQ5xKTiU6IpCRyY4dgvh5uTE3rvyCazU9lR82vjAk65hNQTbF0fLhXDHX6 BOPT3DwNCG4hkcAhXIe/NJ3k4AkJbRRC6RC34HbTcRgMHKJef/UyEGSdz6KwGHOfFI aR2nqk3nPXYzYeude33hsHbYwOJ00nZjplGbhRvSu2UbzKir3Vdj1DZZdzTR3vQBct 4lcXjW5m4VCZU498cPGilAvzWtBqM/qU2n6q3rrGhwxKvt1gczZBAw4oebh658ugz1 pwQyWSbW/96sw== Received: by mail-ej1-f51.google.com with SMTP id i20so35399150ejw.4; Mon, 12 Jul 2021 08:33:56 -0700 (PDT) X-Gm-Message-State: AOAM532ntn8SSOJ4tem1Y/U1bHxHIvLvT9OXk8Yq+lP4ovi30Q3uiyRh 2oFZWuy1wzvW05p0uYh52ef3jdiOoAkUoiAkHw== X-Received: by 2002:a17:906:7e4f:: with SMTP id z15mr49606241ejr.194.1626104034975; Mon, 12 Jul 2021 08:33:54 -0700 (PDT) MIME-Version: 1.0 References: <1626051778-13577-1-git-send-email-yongqiang.niu@mediatek.com> <1626051778-13577-3-git-send-email-yongqiang.niu@mediatek.com> In-Reply-To: <1626051778-13577-3-git-send-email-yongqiang.niu@mediatek.com> From: Chun-Kuang Hu Date: Mon, 12 Jul 2021 23:33:43 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2, 2/3] drm/mediatek: add mt8183 aal support To: Yongqiang Niu Cc: Chun-Kuang Hu , Rob Herring , Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , Jassi Brar , Fabien Parent , Dennis YC Hsieh , DTML , Linux ARM , "moderated list:ARM/Mediatek SoC support" , linux-kernel , DRI Development , Project_Global_Chrome_Upstream_Group@mediatek.com, Hsin-Yi Wang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Yongqiang: Yongqiang Niu =E6=96=BC 2021=E5=B9=B47=E6=9C= =8812=E6=97=A5 =E9=80=B1=E4=B8=80 =E4=B8=8A=E5=8D=889:03=E5=AF=AB=E9=81=93= =EF=BC=9A > > This patch add mt8183 private data Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/= log/?h=3Dmediatek-drm-next Regards, Chun-Kuang. > > Signed-off-by: Yongqiang Niu > --- > drivers/gpu/drm/mediatek/mtk_disp_aal.c | 1 + > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_disp_aal.c b/drivers/gpu/drm/me= diatek/mtk_disp_aal.c > index fb212e96..64b4528 100644 > --- a/drivers/gpu/drm/mediatek/mtk_disp_aal.c > +++ b/drivers/gpu/drm/mediatek/mtk_disp_aal.c > @@ -151,6 +151,7 @@ static int mtk_disp_aal_remove(struct platform_device= *pdev) > static const struct of_device_id mtk_disp_aal_driver_dt_match[] =3D { > { .compatible =3D "mediatek,mt8173-disp-aal", > .data =3D &mt8173_aal_driver_data}, > + { .compatible =3D "mediatek,mt8183-disp-aal"}, > {}, > }; > MODULE_DEVICE_TABLE(of, mtk_disp_aal_driver_dt_match); > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/med= iatek/mtk_drm_drv.c > index 67a585e..143ba24 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c > @@ -420,6 +420,8 @@ static void mtk_drm_unbind(struct device *dev) > .data =3D (void *)MTK_DISP_COLOR }, > { .compatible =3D "mediatek,mt8173-disp-aal", > .data =3D (void *)MTK_DISP_AAL}, > + { .compatible =3D "mediatek,mt8183-disp-aal", > + .data =3D (void *)MTK_DISP_AAL}, > { .compatible =3D "mediatek,mt8173-disp-gamma", > .data =3D (void *)MTK_DISP_GAMMA, }, > { .compatible =3D "mediatek,mt8183-disp-gamma", > -- > 1.8.1.1.dirty >