Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3268600yba; Tue, 16 Apr 2019 08:01:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxx2Yabyc9810jihAoOndxmQj3Qzm5dXw7ndhxenH31NloGKE3KdwTjcWhJpoF2EytOl0dJ X-Received: by 2002:a17:902:e393:: with SMTP id ch19mr79586717plb.117.1555426914920; Tue, 16 Apr 2019 08:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555426914; cv=none; d=google.com; s=arc-20160816; b=Y7mlo5IEemBtFKDnv5kRDFwJUdmJPanJDMemRAQjyBShOPVhH5+TBpRNRgJ7Gj8U8L pYahZnYV2Zq5fFD/glO3bSRlqM637Q00LRm0GLi9cX+Up5xrPJenlOWbWhRwn4sW8Yn5 yhIns7BfUIvNbaqAf8Nj2/YXQwfhw5am6CyIiuBrjGGcJC2+HcO+kZUXcbMWJ0Kn+Vuz K9inj3u2NGmGGRb+2DHa5pNGwp3j3NpFuO7w4qF9c10QqWt63SJO01pgiWdmwT4lfNZG 06I7nyiSOEOGv4E2OhBBeBJ/4hQlMStU0mSf3nn/QU113wyK9G+Yn45qBDZchZv1NKfu ke7g== 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:references :in-reply-to:message-id:date:subject:to:from:dkim-signature; bh=wsH6MFZ+DlpxFHZDAHsGoB/6Q7ZRF0rYF89ZNi5K9Lk=; b=FoMWaBSlYHeKy8Gr1CYoNxUYo9dZQP4LGW7aGT3kGHx/v5iiOCY6fVzUCFkzrS0zBh D/FpwKDPfSHVmOPhflo069BS3hUZMJOJ6K7CRr9bgJE4F3EsCOzY3msdNE86BQt4aEwK GBZxuKqLwoH2q9PQJMSeSm8vt2PX3lgeu06spc4emtuYdHE70AL0VwPVcUt9jkP62r2S 1xAPY01Og+kL89eTCHqTVc9psChOJVUKNsy6+UME+xrs7gpOnXbSdd1NdrPFIg8CIfPN AMxOozkM7d8lP2FttAsaKY+//pXX/sg340cv7pntnD0Vx/j5+rcIQPL5XvlAn1FCFGnc 30CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=hFSnZtrh; 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 o64si34965266pfa.274.2019.04.16.08.01.34; Tue, 16 Apr 2019 08:01:54 -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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=hFSnZtrh; 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 S1729758AbfDPPAb (ORCPT + 99 others); Tue, 16 Apr 2019 11:00:31 -0400 Received: from mout.gmx.net ([212.227.17.22]:56513 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729872AbfDPPAP (ORCPT ); Tue, 16 Apr 2019 11:00:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555426751; bh=Y8YBUeQRMwzr7J9CrhokVN2JmnDLZgiR6/FvJ8s0awA=; h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; b=hFSnZtrhJMFyrkK+OSxZKbZteH751XTq6PflO4v0YcuSASZUH2TtO0xLW287EFMMn rTdbm8p8VlG45xwHNIvqRb8fiDOUv0Srpt4y7QXORrv0uQxqPUOwTkAhKyw4ImRLMW yAnOlcvey2JUxg6r48gBmZxZawsKBabbuuxQtiV0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([185.53.43.193]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LsOsW-1grxln1gwy-01242I; Tue, 16 Apr 2019 16:59:11 +0200 From: Frank Wunderlich To: CK Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org, chunhui dai , Ryder Lee , Bibby Hsieh Subject: [PATCH v1 4/4] drm/mediatek: fix possible_crtcs Date: Tue, 16 Apr 2019 16:58:48 +0200 Message-Id: <20190416145848.11932-5-frank-w@public-files.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190416145848.11932-1-frank-w@public-files.de> References: <20190416145848.11932-1-frank-w@public-files.de> X-Provags-ID: V03:K1:9GPlP7IlVWKnFgYWpkxNnSyxoKqbdPAOhYPuzOGEhvtnm/dnvDc u0aZ6E09ZQ+c0lL/CBmKiBqESl128QUe38K6t0MlPeCuzA8eJMORcnnA2iNslAeyJ+0Z2lC I36MEpQImXtGi5bdpUsnPLatQQ8f2w+RitysYEOi3Q7SqESYkKXRwwvHzoL8heMo24QY9+D Fe0s0ddS+mVFkZU3RW9HQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:DkHhuo31RME=:aT6nZd241Pbf2Q68hLlW5Q 1sAycQMEUyvfRYBu4tlZaNvCtCuyAnZbrQQuyVX81aFSGpUquUUN6fRq4lAJT7jxJS3/hl2aA g5RNwVqDuHudo05/VFmXaanMGZyKwuNObCl3GxKV8NV9XTkse1pgh60qgWoPS+R5i8HhqF5Kf BwTMV/O8oLLr2NwMcW+bXaPfhrVKAddPONP92fUnKylRCyjME983xSEuiHUW/AhXv7Bh7e8yM 09t04hA8w6D8BNYRGegwiLNgbwwaDVEA9H2LcNLLruJt+wOtqg5aE2vFxd0KFpD4HV/30uTBk qiVYr0qL2pyrZoFVrE2Gu2UufFua6WflqO0TYtmh5fV9N8c7ppXTSHY64QsFf5LETAR3ViORq FVoO0l+tIZwcub6ou0AyT4jr+t8cO41us/x5CpIhYHb5R5N4Kt2Imnmpk0cKXVHlKY1p35Fit s19b+9kgE2x6nJM/8TnlzVYYYMnBlObiQf8b3+hNy5wtnS7KHuliRKgBFH0wGwIRz2EtUZ1ZP FQo8o5f51FhsuaG6ZWnhP0kmRjzkSkcsWBQF9LDGQ2Ruy0b0Qh6nvFWrApGQ26AJ+MgdNNtWe +/axL6j6a6WYY7De1RV6bmP/015ZRIwi7xaRF8FnNFdeG4jqQpEhqSX5IYYyTcSMPtzvX0nCC e6isWms/iHqothv3VHKqBYZLfD45U5agN+H8uT4i7fJB4aIedctt7F7FQIkIC/rVJs7V8i3ql 8L8hXJJVQfzfIOvshcrnMMdjr/v/gxp9wxyXogrdSPTVPI08xgxZgxNtmSC9u3W4GX/5GjVKo 0kBLVvAPwyCWV6CtN2g17Db0kbiaS3IayyPYoI6i7xKEzbym9xiUVcIv1Va60FUod0bQEw+3P BVnZ3htBKHknyboSs6oIl+Oy8AHyuRrI63jYsOAq8heGlSLETeZNJGk+Pfxvdm Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ryder Lee without this patch there is purple stretched font on fbconsole source: http://forum.banana-pi.org/t/kernel-4-19-rc1-for-testers/6618/52 Signed-off-by: Ryder Lee Tested-by: Frank Wunderlich =2D-- drivers/gpu/drm/mediatek/mtk_dpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek= /mtk_dpi.c index 5d333138f913..c171b01f77e0 100644 =2D-- a/drivers/gpu/drm/mediatek/mtk_dpi.c +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c @@ -610,7 +610,7 @@ static int mtk_dpi_bind(struct device *dev, struct dev= ice *master, void *data) drm_encoder_helper_add(&dpi->encoder, &mtk_dpi_encoder_helper_funcs); /* Currently DPI0 is fixed to be driven by OVL1 */ - dpi->encoder.possible_crtcs =3D BIT(1); + dpi->encoder.possible_crtcs =3D BIT(0)|BIT(1); ret =3D drm_bridge_attach(&dpi->encoder, dpi->bridge, NULL); if (ret) { =2D- 2.17.1