Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp662000pxb; Thu, 19 Aug 2021 08:19:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdw8dUeGkrjlDaVI3BibkXcFlftKrnw2yBxQ92KjwPZiKSunSUYErf575w1TSWb+kn1Ueb X-Received: by 2002:a05:6402:17d7:: with SMTP id s23mr17164806edy.344.1629386350946; Thu, 19 Aug 2021 08:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629386350; cv=none; d=google.com; s=arc-20160816; b=bKeDAe3oC5tIqwL7sBTaHIEU8rDFUPYgLrmbvbbJyb81bmvXrIKL4n6aNCk2+XAeUl uTNu14fnnp7tclAuws9b1XpLqOy85GQ9EwPzdApu0hZIZP0CTgBydKjbAUTB4Qs80SxG 9bne5scrG1c+bDhrexPbAiS7a6yfzE+QVOf3mhEf8Cr7kJq2y0ZqM3kZQC9bFZSEsNlK lst2M0B1TU/ALTeT1g1xvUiiBIL/IATuSzVOlAljqLr4XXv8km9tnpVeHtHfdwdFGxIJ OoHaLErqxMpebhvJDbLeJdmkK/xOj1dzcabxCp3iYZSomBRznZ0qIFSr/ypSfNpR8Jsr Hq9w== 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=/AqCEdW0qk88Kd5R3ZnA9mK2hG/qdwI7+eFRnOkQiUY=; b=eYjjUeCySRpnTFpBny4/cf75GReaOS9qu/QOa7/QOwYo5iS0enOhq5r3/aZ43Z2VFG Ae0Ls7RlkU5kJbkyB8BtJ/xumHDL8jl2KIbIKtjzVzimn498Gz1lOoYWzOD+5R8KADW9 Yd7lUoHyHe3LRDqhdiOUIkzFM+f3fAs7S48rzHfNov4kXhTBk1KkO+gmFVW5kwBGPNzP Sz90KJ7dm4Y2YgzeJFCnGuNSg7JT57L8jqz7NJrA++JnfnHkNjlX0tbSkRN49SnS1+EW qs/jkZjetMowAZFVN4lKwqS8427m4MdeH0epondRAeFCtKU6HwxoFBiPvtr6V50haAem hSAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AHyPiVBo; 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 o5si3426896eju.351.2021.08.19.08.18.46; Thu, 19 Aug 2021 08:19:10 -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=AHyPiVBo; 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 S238427AbhHSPPB (ORCPT + 99 others); Thu, 19 Aug 2021 11:15:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:54364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232821AbhHSPPA (ORCPT ); Thu, 19 Aug 2021 11:15:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 72327610F9; Thu, 19 Aug 2021 15:14:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629386064; bh=6RbiCLR/J3ApdDbLsZpuHB3TvFLX+SWaJ1+NjJtMJY8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=AHyPiVBoomZwv4Xo5tk1EFmp1N/E2HBfNMARLkELCOYJ9dI/EEsPG4CveHebEmUmv zvGhAgXRHaBBmkfo8a1vMdTSuAvstN00YmTIeiWZJ0qgZLWyn1dJ2mBNLq88xZLYaI 2616jUShd6FjuLGxuGAcmuiZWR3OtByJ82LOxqWjacg+E2fC1xTUzKuxpkzqifCPP2 S36iBh6O2H5PpME3yMtr9quGFHjxB/MYPxCAu1zGZo77fOso8S9lUmkgOGyhloQsge LhkW3QGVkkVQGqdxg2GNLtsvgof3RZ9kAf887waxUrG6aZrISLmIIHyERyuCsMM2oX C5ls+WQ3ef9nQ== Received: by mail-ej1-f43.google.com with SMTP id b15so13595645ejg.10; Thu, 19 Aug 2021 08:14:24 -0700 (PDT) X-Gm-Message-State: AOAM5337aFc/fHJwwT+Zz3oSbx42eHNTcxNM2HSzbBKtqr2KsEOj+Tr2 IhQ9H7/1pBVaVWUOzmYtWOQiWTz5YeT8KLRuFg== X-Received: by 2002:a17:906:f43:: with SMTP id h3mr16507585ejj.267.1629386062976; Thu, 19 Aug 2021 08:14:22 -0700 (PDT) MIME-Version: 1.0 References: <20210819022327.13040-1-jason-jh.lin@mediatek.com> <20210819022327.13040-9-jason-jh.lin@mediatek.com> In-Reply-To: <20210819022327.13040-9-jason-jh.lin@mediatek.com> From: Chun-Kuang Hu Date: Thu, 19 Aug 2021 23:14:11 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 08/13] drm/mediatek: remove unused define in mtk_drm_ddp_comp.c To: "jason-jh.lin" Cc: Rob Herring , Matthias Brugger , Chun-Kuang Hu , fshao@chromium.org, Philipp Zabel , Enric Balletbo i Serra , David Airlie , Daniel Vetter , Fabien Parent , Hsin-Yi Wang , Yongqiang Niu , Jitao shi , Nancy Lin , singo.chang@mediatek.com, DTML , Linux ARM , "moderated list:ARM/Mediatek SoC support" , linux-kernel , DRI Development 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, Jason: jason-jh.lin =E6=96=BC 2021=E5=B9=B48=E6=9C=881= 9=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8A=E5=8D=8810:23=E5=AF=AB=E9=81=93=EF= =BC=9A > > Remove the unsed define in mtk_drm_ddp_comp.c Reviewed-by: Chun-Kuang Hu > > Signed-off-by: jason-jh.lin > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 10 ---------- > 1 file changed, 10 deletions(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/dr= m/mediatek/mtk_drm_ddp_comp.c > index 75bc00e17fc4..aaa7450b3e2b 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c > @@ -21,8 +21,6 @@ > #include "mtk_drm_crtc.h" > > #define DISP_OD_EN 0x0000 > -#define DISP_OD_INTEN 0x0008 > -#define DISP_OD_INTSTA 0x000c > #define DISP_OD_CFG 0x0020 > #define DISP_OD_SIZE 0x0030 > #define DISP_DITHER_5 0x0114 > @@ -42,8 +40,6 @@ > #define DITHER_ENGINE_EN BIT(1) > #define DISP_DITHER_SIZE 0x0030 > > -#define LUT_10BIT_MASK 0x03ff > - > #define OD_RELAYMODE BIT(0) > > #define UFO_BYPASS BIT(2) > @@ -52,18 +48,12 @@ > > #define DISP_DITHERING BIT(2) > #define DITHER_LSB_ERR_SHIFT_R(x) (((x) & 0x7) << 28) > -#define DITHER_OVFLW_BIT_R(x) (((x) & 0x7) << 24) > #define DITHER_ADD_LSHIFT_R(x) (((x) & 0x7) << 20) > -#define DITHER_ADD_RSHIFT_R(x) (((x) & 0x7) << 16) > #define DITHER_NEW_BIT_MODE BIT(0) > #define DITHER_LSB_ERR_SHIFT_B(x) (((x) & 0x7) << 28) > -#define DITHER_OVFLW_BIT_B(x) (((x) & 0x7) << 24) > #define DITHER_ADD_LSHIFT_B(x) (((x) & 0x7) << 20) > -#define DITHER_ADD_RSHIFT_B(x) (((x) & 0x7) << 16) > #define DITHER_LSB_ERR_SHIFT_G(x) (((x) & 0x7) << 12) > -#define DITHER_OVFLW_BIT_G(x) (((x) & 0x7) << 8) > #define DITHER_ADD_LSHIFT_G(x) (((x) & 0x7) << 4) > -#define DITHER_ADD_RSHIFT_G(x) (((x) & 0x7) << 0) > > struct mtk_ddp_comp_dev { > struct clk *clk; > -- > 2.18.0 >