Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7193719ybi; Mon, 8 Jul 2019 16:37:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeb9Hwu1cbGHuTVjhgb5DkhZWpB9OatrYeuxs4bRurQQVnldAx4bJ4TqctT2lNvdygz+Uj X-Received: by 2002:a17:902:bc83:: with SMTP id bb3mr28716445plb.56.1562629031980; Mon, 08 Jul 2019 16:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562629031; cv=none; d=google.com; s=arc-20160816; b=BDvOd4M0tfVxqE+DXiZZVff4Qu1xtjHuaU0Zpgn6bVe1aMOTIKP5EvC3BIVEwTBZLl UyjpfhqouqvHfIsMuN90OCPqSZt7Ztm7fZdpFUYE4LIDmpwPogkka0j3X+glu0cJ3w9C wMtvKpoREPywC7w4h8ADa+CYVa2IO783v595KSWOW41Lt6Wo2t8M3pHW5uiW8YSWqm3+ d3GBpwKfm2+BEFO7GmHEwbbqYHn6t+/8YgK6bQvIz1Gp+Y9ccLmq2/1JQDjUcOpNx6mA YzGsJk1eKeCPj9fAz34pJ4YuNEKwk0vbSMgMAi4fmoafnJwFO4n7ZOsbo3+OJkYIHncT AM3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=YijQZUYhrHJ4uD+p1Y6fwijbjpim6XoP9LoAjGLkJ5o=; b=gOOlFuwC4cu8Ep9EQONOjv8vR7He0zAeTP+1Bt6kzzwiENeeF9CgIiy8F159HDwQRz Oi92AEO90s2bgIZUoB0xvfIaN/ViOdwvDJCdRarIL1344qGxr5cIzknvo6HEHvKtK0Dh zKIcd+EWGNeNYNBFRBOUNBWkBBQnSqOVrsuf/gKxNNWlYZ+F9/RehQCSqlmGKXc9ZLyo HLquFUBpAsSmh7KSh6QdXmhaoOjtT4a4tgAuOrKOMygw81fQMxljnkoNmDFhGoY8CJjP TcqKTcq+ZQfjWNBpRBLCvVbO7JIUUOUP4qs5jTQFQT7PgiYSE5w2VeWD9I/bGUXM2Zp1 +jUg== 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 h8si845498pjs.13.2019.07.08.16.36.57; Mon, 08 Jul 2019 16:37:11 -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 S1727932AbfGHWfC (ORCPT + 99 others); Mon, 8 Jul 2019 18:35:02 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:19722 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727654AbfGHWeu (ORCPT ); Mon, 8 Jul 2019 18:34:50 -0400 X-UUID: 3496b517fa9448ee8705a4f8df2da043-20190709 X-UUID: 3496b517fa9448ee8705a4f8df2da043-20190709 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1321732793; Tue, 09 Jul 2019 06:34:45 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 9 Jul 2019 06:34:44 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 9 Jul 2019 06:34:44 +0800 From: To: CK Hu , Philipp Zabel , Rob Herring , Matthias Brugger CC: David Airlie , Daniel Vetter , Mark Rutland , , , , , , Yongqiang Niu Subject: [PATCH v4, 28/33] drm/mediatek: add connection from RDMA1 to DSI0 Date: Tue, 9 Jul 2019 06:34:08 +0800 Message-ID: <1562625253-29254-29-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1562625253-29254-1-git-send-email-yongqiang.niu@mediatek.com> References: <1562625253-29254-1-git-send-email-yongqiang.niu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yongqiang Niu This patch add connection from RDMA1 to DSI0 Signed-off-by: Yongqiang Niu --- 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 c87bc4c..fbea47f 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c @@ -442,6 +442,9 @@ static unsigned int mtk_ddp_sout_sel(const struct mtk_mmsys_reg_data *data, } else if (cur == DDP_COMPONENT_RDMA0 && next == DDP_COMPONENT_COLOR0) { *addr = data->rdma0_sout_sel_in; value = data->rdma0_sout_color0; + } else if (cur == DDP_COMPONENT_RDMA1 && next == DDP_COMPONENT_DSI0) { + *addr = data->rdma1_sout_sel_in; + value = data->rdma1_sout_dsi0; } else { value = 0; } -- 1.8.1.1.dirty