Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2798517pxv; Mon, 12 Jul 2021 02:05:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBxdkuEjsBm2TcNExjxwzW0Q7ZUloAogwFLtD3ZFEFzpZBIA7lrRrOwWQp1VkV/NvJvQT8 X-Received: by 2002:a05:6e02:78c:: with SMTP id q12mr25003111ils.243.1626080707541; Mon, 12 Jul 2021 02:05:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626080707; cv=none; d=google.com; s=arc-20160816; b=OFhTxmihMqeqjNrOb8qSelchNOb9dxQHui/Hriz3gIUVOji4tU1mgR6i/erFuovIFZ p0168vRK8Ffwt+aO+VKa7up+Vcex2xcyaHWGAd8OCG/iYE5BYja8lTULeJNVnPjYphFL 5IWGUegEK5e9zlcTdSHAfroTHtmVL6WuOKA+bIU/MJoHEz2Cps3jDTfuxRE1nsQbqeIb qY80Po/p0s3VaqwQP91C4kWdApUtcupC8D3yRfyLwt1qSuKxjgg9pAdWb3RBEp3Vk+rv CkWv1A6ag2xDY0yu8wSfl96ZN0XG64Ba7FMoLD6lPgg0d9U+2+KqjHXUhu1BaZlOs6Qu LSRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :sensitivity:importance:date:subject:cc:to:from:message-id :mime-version:dkim-signature; bh=zT/71xpklzP9E+kv0PF8PvYfm5L1MDUXOg6u/tSO9oE=; b=07/CMZLzHPCLE6Ereh0kO5nqeLGOkB8skhAzhTk4nfj3m8XPLJ/zG/hIYDkoHcqCEF QGpOTDAtHwyl2iIzOAGfLh/4UysfdYQNaA0PBVIHflSkbf2jyVo/FJUw4C/qKinJc/uc bLM/nV+DiXYw++AAOELrl1hPZbfko0aahAq5ik8XGhCtXoz/JMjxc8bFwuqyXW3M3c3j a8XjOuyeoa8dMMFS4i3eDQ99PSJ4Gdd/gvVEYo54Xswn+OAETVDOOKYAVoc3T8Expjhp U3866/exepb5KRLXbWEBJrTx+gSj2V1+e5wUMmFmgcLH5EYm5JmuUkJvuDpnAuRBYgKU qJqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=jiXTB2QZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si18645664iln.128.2021.07.12.02.04.55; Mon, 12 Jul 2021 02:05:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=jiXTB2QZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346479AbhGLJGc (ORCPT + 99 others); Mon, 12 Jul 2021 05:06:32 -0400 Received: from mout.gmx.net ([212.227.15.18]:56291 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351457AbhGLIOM (ORCPT ); Mon, 12 Jul 2021 04:14:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1626077468; bh=JMgyay+YyzCR7cAHs9mF7PoljaYXpFKpYzGhoYj6ySs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=jiXTB2QZoVu1buvDckNv8rMN2n8KbDsE01Vh/TJJ2KOaWPsE4DTAObtWrh3psjZOk 2C8oOsSDA6boztueZFoRkSh9EX49p+0RWB4lKrAlLWwD/xmMHOiRjvRpRZu+oLKt6k sVj42IUtrjM5r4+BLlf2rMjxREjT2qhCFH1dUjRw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [157.180.225.139] ([157.180.225.139]) by web-mail.gmx.net (3c-app-gmx-bs28.server.lan [172.19.170.80]) (via HTTP); Mon, 12 Jul 2021 10:11:08 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Chun-Kuang Hu Cc: chunkuang Hu , Dafna Hirschfeld , linux-kernel , Enric Balletbo i Serra , David Airlie , "moderated list:ARM/Mediatek SoC support" , dri-devel , Thomas Zimmermann , Collabora Kernel ML , Matthias Brugger Subject: Aw: Re: Re: Re: BUG: MTK DRM/HDMI broken on 5.13 (mt7623/bpi-r2) Content-Type: text/plain; charset=UTF-8 Date: Mon, 12 Jul 2021 10:11:08 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: <25d61873-38ae-5648-faab-03431b74f777@collabora.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:xkpAQRS+6hCibb8IREI/4+UQBOmHX66bpR+hfwPP9SZMr+UzKW47NfS8x+VrAsKc4Ee5V sIYOpYqt00E6MnbGXUEbYNR8D1Zb5iXk3A7u8WZJxQaLQ31WsFcV65jqxqMbdmZNGIfmfFO2knQR l33LYvxaOw+3bw1BE5fAQxl9rCVJmr4U+W6DpVwcBAG2f/Akxl9QpPBlUyVlzcaHtsxieRTPn3fC tcir/G8tjeb1Ouz7HEKFPXmzNL/L/CAHcd/CaMK/0iElTmacIp7HFjyzhPQ7VPPGdPB5toqPtgjP J8= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:H9QCYfZhSGs=:W7cfrvRAps8n+FW/OAKwdS iHxEnjulsqPZzWiVhu5n3Ia7k3tCAv4joj0nrsa1qBgUmu0nYCe8FLU6Ub7N5DaDuT7FGGvQn 51yvZ3KBZ2/s9+xSexf50nthtcFraIOecX26xaWgYW6my9wgObmCFHwkWEdkMYOaNVzgoAusp /tOOhLG7m+Wflrh2MCcjDNKkD6uA+hQ5vEVWYCaV+s+0H5MsaYUGA9BUbjc/WwhCcQ6RUB1ET ynYMr0Dd0eOqRKRxtzYz29ti2W400016aLbone4X2tmy9bIz4TZB/ccx7fJvMaUIEGP0V7GL+ EWFQD8EqZs6Yv2uMX6MtxqVxFEsq6Do5XdIpE9BJ8/i1RgVGGLykigqelZMQIBFA1BWo5thxz kXcRKDWLjs69li/A9Gsit/97cZIqdV5lTc1IR0IiG3WOpQTClszM6qYjl17949OCX47szg2uz 1ollY2XbCxPn/SW5U0jLqQXfR98z3ho5ucND7Lcp2FcOvczlnViXBhyhHtHfjFasgjfpNtyUP rvqIDJW3j0uo8o2wXym5mLLMayrfLawbeOWpDjJCiIyH9IdJC3Lzc9SIMr+Z4Gn6E10csHqI6 P2aOZIi76e09tYNloftsw0qRqIOX9LghYaL688hWlhJWWLZgEHljX6yY+/fsRnivX4wxeevQL f4F//ttTtiFL9mk08aJnfYuIihCXQ1dLOnIBTZtsdTibhg8yOacpaBNGvCTDVoXbxR8v0QPm6 mEOH4IO3BzOPj4En32ukb3vkzsWf+xO6b2DIkKffNzaOffYqADcdOiCtn9gO9pU7/Pw/T8vS2 04CoVBBivmnUa1TXL4oT2rxFvNRCPfuwsn5QuafxuX5sQfv99k= Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, HDMI is broken again in 5.14-rc1 (of course i have applied my patch [1]) now i've got a NULL pointer dereference [ 21.883641] PC is at mtk_dpi_bridge_atomic_check+0x38/0x78 [ 21.889158] LR is at drm_atomic_bridge_chain_check+0x150/0x30c "dpi" is not set correctly in mtk_dpi_bridge_atomic_check this function is new since commit ec8747c52434b69cea2b18068e72f051e23d3839 drm/mediatek: dpi: Add bus format negotiation i do not see where bridge->driver_private is set, but in other function it= is solved like this: bridge_to_dpi(bridge) this fixes the NULL-pointer dereference, and system starts to xserver, but= i do not see fbcon...it looks like drm is now initialized later (~ at log= in prompt on serial console). i stopped lightdm and still do not see login= prompt on hdmi, so it looks like fbcon is broken send out fix for NULL issue, but fbcon ist still unclear...but i see this = in dmesg: dmesg | grep -i fbcon [ 0.000000] Kernel command line: root=3D/dev/mmcblk0p2 rw rootwait earl= yprintk console=3DttyS0,115200 video=3D1280x1024 console=3Dtty1 fbcon=3Dma= p:0 [ 0.000000] Unknown command line parameters: fbcon=3Dmap:0 [ 7.040167] fbcon=3Dmap:0 and no framebuffer/fb0 in dmesg regards Frank [1] https://patchwork.kernel.org/project/linux-mediatek/patch/202107101324= 31.265985-1-linux@fw-web.de/