From patchwork Tue Apr 16 14:58:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 10903307 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AC4C113B5 for ; Tue, 16 Apr 2019 15:06:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8ED0828988 for ; Tue, 16 Apr 2019 15:06:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82A6E2898B; Tue, 16 Apr 2019 15:06:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2C44828988 for ; Tue, 16 Apr 2019 15:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r3Tq30bzTmouxACDKkdfC5CpjXZZBdVfx+i0Z+2NBU0=; b=dOFWfCITTnuBTB Ww+aeyio122/fzwCXAYEmOiylZ+/+xsJazDNBYpHht6NjlJuIEChgszAK6EWUuqncNQIYFUW7Ac8g k8IjChQuCti45kjKmlbiVgt+XKLK9WAL29nL93QkFMmztfhgPMlGerS5rNGgiCsbVXSdjVKwLOVSu jdnATUmUnww8OgkPHMwWncz54DKzAefQAk1nQ1YRFa3+tbAMUbu7qZ1f8+SuSllPAblnq4IfyMPCX ek1mOG+/r/pvhFv0qodyi6TAw9ZRbvzqabXx2U/9dTJ3V2q0hPoeenXeawc2KriDfAgp+6LDhlpNY cjUU3HRqAMVi97hLoPhQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGPf1-0003sN-Pj; Tue, 16 Apr 2019 15:06:11 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGPeg-0003UC-Bn; Tue, 16 Apr 2019 15:05:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555427148; bh=Y8YBUeQRMwzr7J9CrhokVN2JmnDLZgiR6/FvJ8s0awA=; h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; b=DfJK3+wJUq+0l9oL9Ica3iTH7rQaRgQyeMkyen9ACyXZ571izEdw7wEWiMz8TpcPI g8tAvSELKhvpLzygWt+HhqDxKyFGCQhjbywSK3w5fsBpiXUtDDzNEB1UjsAKei4/3/ gK4KPErctGMrTukZ2gTEE+s2lH2xeJTrlPaTdc/s= 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-UI-Out-Filterresults: notjunk:1;V03:K0:cbKNyQZYXSQ=:lW1Ilk6Sz5Kn2iECfgQxyq qwUx7vDd6kTmAWs5cYb4lC4Ss4MoX1VLGkBEwDMrWvstvV+BSYHhvQxp5dSagP4EDxAgvAQVi zcnHduWxVyEufcXrTIlq3JamGdV6Lshs3C17ywGf2snS3qPPPC6+oE2x+nsAT/obWcGLoAk8C qJoIBWCT+gGvdZWzen2w7Np2P8NvgRGB4k7t9FIqLlEvSGfM0CeYnCkUO+lV3vsP2DFJ0qVhT lzGZMD4o+W8A6A+pwYlXR251WBUYpuD0GzWz/vFXJr1an/PeokTqbfZvJwqwhYNf8Fefx4MlM 9Fo1kivyNf7tBsXlJ+LFp6QV5Yal2xE0oNe8/hXA+tgWVzSBzUYLlvnysguxfsecgEUjy+t85 espgKmZh9dAtQuERlwbIRw2lw+lBbco/Z4fKYrXw/5GdMfmobwdOzHzNu6D1W/oTqkPf3Bn49 BQEG0XeV1bg6VmWD+udAxpKc12y5PkkV0k4N5R+4XyBZNTwowTW7BKNrkUeQnzlmBRoclLcw8 nsX48PqJLGsWAZm8cAhPIWTkL96FUxk19fyLQA+lnUnfJGN7MsNOhAodJGPsegLKefDEOkPTo PSKY7QcU5flO1LQEcYRVs5utU62wXdexPj8/A589fePpR6CZCqYIXsn3a4+8K9M/KitHKrM0u z0QOp9pH2ev+4o96fx87uPfyqj2SBFekL72bxhXD68cVcPO4ckMbYPfwIj/htGFF8seoxy8k9 1eqN8+UuWMuvg9loRi698kMgXEG5ewp5hCpJ6Iu5McqUalW8bVzASg/BDPpN4esjO4zf5hMxo 3ZCEJxxZInwRl5RXMqtZkzzom1JYidkgR0ioa3yTn2JvY3jVzE1Y64viORe2r2CkJkejcjqMg 2KJFKNtRuVjx9gydoDwGjOBMz4l29gawQffaLaEt4cTyC3zf/7kvrx7PknY0Gr X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190416_080550_699706_34F8CCED X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/gpu/drm/mediatek/mtk_dpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index 5d333138f913..c171b01f77e0 100644 --- 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 device *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 = BIT(1); + dpi->encoder.possible_crtcs = BIT(0)|BIT(1); ret = drm_bridge_attach(&dpi->encoder, dpi->bridge, NULL); if (ret) {