Message ID | 20230804072850.89365-17-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp117933vqb; Fri, 4 Aug 2023 01:46:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSGItrr+563o6z/7NBvQuP8IZliIpY5MGiueeuxQ1aFJqA0d9YevNvUN0iGACKzJIkQbZJ X-Received: by 2002:a05:620a:47b0:b0:768:3bef:da86 with SMTP id dt48-20020a05620a47b000b007683befda86mr1568356qkb.37.1691138788289; Fri, 04 Aug 2023 01:46:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691138788; cv=none; d=google.com; s=arc-20160816; b=N6NX2Pto05G7EmZJV15yv7YuiyGRC8qtDhIOJz5Z4oBZ4ABKVFUUEzRCfd1ivjp1sh yu9vKpZrBTNH0i8b4hlNXf0/2BzqHGzL9hhq2kp7Afjd8DTaGRYS3yuOQ4var9VbAIyP xyofXUTVk2CJkw/BvBblna8t7v04qlzqrlww4mkYktFjSqZUHkjz80E0Q9zO/IUmCdtv CrDeC/nhdbjVl6DKqQdOnwfPcJL9jcHJathL38LeoKbG/NQ+myvzp1qehZWBATuxfX89 Or25hO/MYu6g4Ph+VSu+FxNiE6+assriGLaDKVrgVF5QKUWWUbq4/lNXvsIIXCFW4+O8 7Z1w== 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=ala1ks6V0rarnm7IA1fl3swYvyi677tS76330+JRWP4=; fh=9Aon3jQEVE1p+dS8p5fghxMOlPjmNOu/O0E5mCMmCJg=; b=rFzgu/fTwIFtIzj3hIRVlHYam2QH0zHd8vllpc3wpbLiV2qGfGZ3UpcffmVef0gaow g7/M3nNR6q/qzXUtm4ZPQ7cAr+swTK6yNgzFzQPDEKer+ketMawHrTAeerMfB3L8JW7h uM5BhnxmS8VdhJxGwWNwZl0j7lk0tK0h+rhLhLL3l7TU2ksA29YPICUnm2l6MSCNbZDc Q8CwNpVeTZdExdYVuSbDVGZFnbh3BTIwoQKg6fDxyiwkhXVAwM8i3IcOM2wTDyOlQ5oC dlDR/+GQfvdhowjbLBpkZXG1/ylS6SG4mdhUQYBBCTzM0I4/uOD/U1XvU60AwPfhyAk8 f6nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cB9BjZ+U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 134-20020a63028c000000b0055e48c43ab7si1417776pgc.470.2023.08.04.01.46.14; Fri, 04 Aug 2023 01:46:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cB9BjZ+U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234208AbjHDHaN (ORCPT <rfc822;sukrut.bellary@gmail.com> + 99 others); Fri, 4 Aug 2023 03:30:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234218AbjHDH3U (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Aug 2023 03:29:20 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 129423AB2 for <linux-kernel@vger.kernel.org>; Fri, 4 Aug 2023 00:29:12 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4D8D766071C2; Fri, 4 Aug 2023 08:29:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1691134150; bh=eOGxKFVDezkCZBwW2hUee7R5nYDwDHZk82jsXyRXIgQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cB9BjZ+Uh0lMovSOzN0a/Ugu0u79UdFA39R9jOkGWpsGAIuE/yvVPkSaK9yGjcD1A atqx7Bn/kZGL3XX2lgxbpyhURUD4/G2snCvNmr3pdr0EXiKC3UFNVQo9+jtvZvi3pd BNZDHv3q9fSSm/Q7r97fR/tmZN0xbjxL59PpWye9XAcVASV28skJwuhd/xv2hftjpA zj90iUOorcQrN+C3ygC7ChzInMNnuznvohNKXV7RqxZivGFYmKuuahD6ZX+irw0VL7 BN1kawNtm1oeJC1xd1EkeUde0ybauzjNS6iq5jhYwkorvdjp8/UvWmzxFQ6c1TB5TB rE/jinzzjd+Ag== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: chunkuang.hu@kernel.org Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, wenst@chromium.org, kernel@collabora.com, ehristev@collabora.com Subject: [PATCH v10 16/16] drm/mediatek: aal: Compress of_device_id entries and add sentinel Date: Fri, 4 Aug 2023 09:28:50 +0200 Message-ID: <20230804072850.89365-17-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230804072850.89365-1-angelogioacchino.delregno@collabora.com> References: <20230804072850.89365-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773287545855461185 X-GMAIL-MSGID: 1773287545855461185 |
Series |
MediaTek DDP GAMMA - 12-bit LUT support
|
|
Commit Message
AngeloGioacchino Del Regno
Aug. 4, 2023, 7:28 a.m. UTC
Compress the entry for mediatek,mt8173-disp-aal, as it fits in one
line, and fix the style; while at it, also add the usual sentinel
comment to the last entry.
This commit brings no functional changes.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
drivers/gpu/drm/mediatek/mtk_disp_aal.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Comments
Hi, Angelo: On Fri, 2023-08-04 at 09:28 +0200, AngeloGioacchino Del Regno wrote: > Compress the entry for mediatek,mt8173-disp-aal, as it fits in one > line, and fix the style; while at it, also add the usual sentinel > comment to the last entry. > > This commit brings no functional changes. Reviewed-by: CK Hu <ck.hu@mediatek.com> > > Signed-off-by: AngeloGioacchino Del Regno < > angelogioacchino.delregno@collabora.com> > --- > drivers/gpu/drm/mediatek/mtk_disp_aal.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_disp_aal.c > b/drivers/gpu/drm/mediatek/mtk_disp_aal.c > index e6ab3eaa1126..70de5f3007e4 100644 > --- a/drivers/gpu/drm/mediatek/mtk_disp_aal.c > +++ b/drivers/gpu/drm/mediatek/mtk_disp_aal.c > @@ -212,10 +212,9 @@ static const struct mtk_disp_aal_data > mt8173_aal_driver_data = { > }; > > static const struct of_device_id mtk_disp_aal_driver_dt_match[] = { > - { .compatible = "mediatek,mt8173-disp-aal", > - .data = &mt8173_aal_driver_data}, > - { .compatible = "mediatek,mt8183-disp-aal"}, > - {}, > + { .compatible = "mediatek,mt8173-disp-aal", .data = > &mt8173_aal_driver_data }, > + { .compatible = "mediatek,mt8183-disp-aal" }, > + { /* sentinel */ } > }; > MODULE_DEVICE_TABLE(of, mtk_disp_aal_driver_dt_match); >
diff --git a/drivers/gpu/drm/mediatek/mtk_disp_aal.c b/drivers/gpu/drm/mediatek/mtk_disp_aal.c index e6ab3eaa1126..70de5f3007e4 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_aal.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_aal.c @@ -212,10 +212,9 @@ static const struct mtk_disp_aal_data mt8173_aal_driver_data = { }; static const struct of_device_id mtk_disp_aal_driver_dt_match[] = { - { .compatible = "mediatek,mt8173-disp-aal", - .data = &mt8173_aal_driver_data}, - { .compatible = "mediatek,mt8183-disp-aal"}, - {}, + { .compatible = "mediatek,mt8173-disp-aal", .data = &mt8173_aal_driver_data }, + { .compatible = "mediatek,mt8183-disp-aal" }, + { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, mtk_disp_aal_driver_dt_match);