Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4890708imm; Tue, 19 Jun 2018 01:21:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK9THxAI7OHP0wxi/LadjlCSO/QP00prxdfG/aqAAMGNlzyFwLYXvghFR8eE/nfokeSlWXZ X-Received: by 2002:a62:9f16:: with SMTP id g22-v6mr16743531pfe.207.1529396496838; Tue, 19 Jun 2018 01:21:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529396496; cv=none; d=google.com; s=arc-20160816; b=bX/TpkEkIQU8B9Bar61My59V+OfBhGFIpTgOvES3EGCLmWdtaDmw4FoZzUav+juSr+ 25AgNibdWSIZ4/plkx+ZuUB6zikPuPqpKUM69k5K2bACPACh1Apkbi5q/Rc8I70l00dx GqQa+owINV5LcL4c9QTkYS6gebt7BHk44zS0ENZrDdwJAZItZ4jJxHMj204i3+SCZOwI +uhoVQkW8beirB+b0pI1Lk+TV9kH2DHX7u13bpdgOPNYosjpr9TbGAgKVRxb8X7cbhKs HkR6aIh2kcPceHW8JE21Kt3WZ+YJAgi8oPUn04Yox0OFu1CZdD2n3Dj67g4iYJLOwZSo gFxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=kO4NPCKrY7nGk9dUMRCuUxfZEm5mywnvXG8uqCxhNSY=; b=MaPYrUsbHUbgVpzdAQNI/NiDKXdmDmGVpF4WRrUTsGQ4UD0X9wnCd1k+s5R+wXRVTa aRX56GjoBe76w+alIbDPi9otWNwSlf/XGgkZOih14nOIzAUpnIscGi9DvfJit2yK2cLI Lw8O3pgAEDcfEUsbqURKPFH7AgX9Y/g0Br6HTLpVEKrYYitgxu0SbQWEcJX3ZUT2IHam SSTTANs491DD1x6AcCZIBdCW3hzKxMgM/JXqDqI98rPZIuLKZBnIIqCSAPmXI4c3HBVE PIQQGNh/skLyqXWtgr0VARPRu34uyqpYUcxOb6uAFga5BgQ5cVC+CBrB0gr0qzCHN9sc 57qQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e95-v6si16972952plb.239.2018.06.19.01.21.23; Tue, 19 Jun 2018 01:21:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937394AbeFSIUa (ORCPT + 99 others); Tue, 19 Jun 2018 04:20:30 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:9918 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S937379AbeFSIU1 (ORCPT ); Tue, 19 Jun 2018 04:20:27 -0400 X-UUID: b950b5a098e2467db34e7898ba3ef401-20180619 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 2087388881; Tue, 19 Jun 2018 16:20:24 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 19 Jun 2018 16:20:22 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Tue, 19 Jun 2018 16:20:22 +0800 Message-ID: <1529396422.26480.8.camel@mtksdaap41> Subject: Re: [PATCH v6 12/29] drm/mediatek: Update the definition of connection from RDMA1 to DPI0 From: CK Hu To: Stu Hsieh CC: Philipp Zabel , David Airlie , Rob Herring , Mark Rutland , Matthias Brugger , , , , , , Date: Tue, 19 Jun 2018 16:20:22 +0800 In-Reply-To: <1529393670-26862-13-git-send-email-stu.hsieh@mediatek.com> References: <1529393670-26862-1-git-send-email-stu.hsieh@mediatek.com> <1529393670-26862-13-git-send-email-stu.hsieh@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Stu: On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch update the definition of connection from RDMA1 to DPI0. > Change the term MOUT to SOUT. > I would like commit message describe 'why' of this patch. Both you and me know 'why' of this patch because we have discuss previously. But for someone who just see this patch, he or she does not understand why you change the name. So explain 'MOUT', 'SOUT' and describe 'why' change the naming. Regards, CK > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c > index 8bfc0debd2c2..977df8facb79 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c > @@ -29,7 +29,7 @@ > #define DISP_REG_CONFIG_DISP_COLOR0_SEL_IN 0x084 > #define DISP_REG_CONFIG_DISP_COLOR1_SEL_IN 0x088 > #define DISP_REG_CONFIG_DPI_SEL_IN 0x0ac > -#define DISP_REG_CONFIG_DISP_RDMA1_MOUT_EN 0x0c8 > +#define DISP_REG_CONFIG_DISP_RDMA1_SOUT_EN 0x0c8 > #define DISP_REG_CONFIG_MMSYS_CG_CON0 0x100 > > #define DISP_REG_CONFIG_DISP_OVL_MOUT_EN 0x030 > @@ -80,7 +80,7 @@ > #define COLOR0_SEL_IN_OVL0 0x1 > #define OVL1_MOUT_EN_COLOR1 0x1 > #define GAMMA_MOUT_EN_RDMA1 0x1 > -#define RDMA1_MOUT_DPI0 0x2 > +#define RDMA1_SOUT_DPI0 0x2 > #define DPI0_SEL_IN_RDMA1 0x1 > #define COLOR1_SEL_IN_OVL1 0x1 > > @@ -156,8 +156,8 @@ static unsigned int mtk_ddp_mout_en(enum mtk_ddp_comp_id cur, > *addr = DISP_REG_CONFIG_DISP_OD_MOUT_EN; > value = OD1_MOUT_EN_RDMA1; > } else if (cur == DDP_COMPONENT_RDMA1 && next == DDP_COMPONENT_DPI0) { > - *addr = DISP_REG_CONFIG_DISP_RDMA1_MOUT_EN; > - value = RDMA1_MOUT_DPI0; > + *addr = DISP_REG_CONFIG_DISP_RDMA1_SOUT_EN; > + value = RDMA1_SOUT_DPI0; > } else { > value = 0; > }