Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp445322imm; Tue, 22 May 2018 23:01:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoz45qGJy7DrkzPFApwvLt5CnNpSGPkHo6b7Mc0T1fACNs0pZLIECgka5WDj65Mhq/qlH0S X-Received: by 2002:a63:5f12:: with SMTP id t18-v6mr1190755pgb.81.1527055316329; Tue, 22 May 2018 23:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527055316; cv=none; d=google.com; s=arc-20160816; b=yb9ZkTjWgNuw6p/MZzxrtux9EolH3QaR22LC/cUNDAF75u5HMU7GtCDE3F61G9iYH8 7URaoHWkGj6l9ES3svD4utcynxhSsvjqrFb/kuEvZh9fwKZsHgeGKmoyX0nQkstUl/Oe JcaLELhdyPkk3/QscKbdjSPjnqHRHLi7EMBRuzjPZpuScdg5DfnYXi8O0P2RGL2S5iGg XR6WZJhvsDNZC61kCVoGLYnhZzTzm9s4mOid0gJAwR7q62U0/nhkVfuxd9r7YoKHMNTV PDEcz8pU1R6M9cYaV7IZcbaj7aLifhU9Ejxx3136HT4JO1Uln5zfDo6GKXFpu5qaADR+ m+gA== 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=hkLUVwilAGbLlvt0vSYaoo7TdrHvlRIzMV4YvWLYtKI=; b=vTAkS9FKFKOR56+eHe5hDtxaI36A+d6pl3MS7n4wcbQY2liyQO1U0DFsxR3awaKpoH M4tnwa6OFgvxIpqO+ytvf9NaHkLh9W4I93OhkLYXSnP/CB5TxqENC8cluggoppptyETq 0DIsTTNlB7YS7cl13CNsbBrcw+YMFZjjE69hzjq/iQxE12MT/BYd2KRGcv9rYuOz1QWH EAlEWaWf0W6mJ9if8rn79To52uwKADZy9r8hcER6nvjJ11a9j7Wqlrqjc4fZfJS2GwHa Se3OzmVoQZNO5PHkns//fHKD+Y2q1XJiW5m5TiWalyGfr3kRpXTsSPmnLhCr9pqGtnZ/ 0bqw== 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 m197-v6si2490782pga.107.2018.05.22.23.01.40; Tue, 22 May 2018 23:01:56 -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 S1753918AbeEWGB1 (ORCPT + 99 others); Wed, 23 May 2018 02:01:27 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:35387 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753826AbeEWGBX (ORCPT ); Wed, 23 May 2018 02:01:23 -0400 X-UUID: 2e36f803cada46e784c00468cbb84cdf-20180523 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 71439917; Wed, 23 May 2018 14:01:20 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 23 May 2018 14:01:18 +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; Wed, 23 May 2018 14:01:18 +0800 Message-ID: <1527055278.21354.3.camel@mtksdaap41> Subject: Re: [PATCH v2 4/4] drm/mediatek: add connection from OD1 to RDMA1 From: CK Hu To: Stu Hsieh CC: Philipp Zabel , David Airlie , Matthias Brugger , , , , , Date: Wed, 23 May 2018 14:01:18 +0800 In-Reply-To: <20180523022517.12103-5-stu.hsieh@mediatek.com> References: <20180523022517.12103-1-stu.hsieh@mediatek.com> <20180523022517.12103-5-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 Wed, 2018-05-23 at 10:25 +0800, Stu Hsieh wrote: > This patch add the connection from OD1 to RDMA1 for ext path. > I would like to apply this patch before the patch 'Add support for mediatek SOC MT2712' because this patch is necessary for mt2712. Regards, CK > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c > index 3c7bd453cf42..0450ecbbc356 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c > @@ -193,6 +193,9 @@ static unsigned int mtk_ddp_mout_en(enum mtk_ddp_comp_id cur, > } else if (cur == DDP_COMPONENT_GAMMA && next == DDP_COMPONENT_RDMA1) { > *addr = DISP_REG_CONFIG_DISP_GAMMA_MOUT_EN; > value = GAMMA_MOUT_EN_RDMA1; > + } else if (cur == DDP_COMPONENT_OD1 && next == DDP_COMPONENT_RDMA1) { > + *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;