From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [BUG] drm/vc4: *ERROR* [PLANE:67:plane-20] flip_done timed out Date: Sat, 10 Feb 2018 17:24:34 +0000 Message-ID: <873728dagd.fsf@anholt.net> References: <1014341980.173127.1518278243060@email.1und1.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0735882976==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 9727D6E135 for ; Sat, 10 Feb 2018 17:27:06 +0000 (UTC) In-Reply-To: <1014341980.173127.1518278243060@email.1und1.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Stefan Wahren , Stefan Schake , Boris Brezillon Cc: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0735882976== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Stefan Wahren writes: > Hi, i'm having problems while booting Raspberry Pi 1 B (Linux 4.15, > bcm2835_defconfig) on my display, which is connected via HDMI. Mostly > the screen stays black and i'm getting the following warnings via > debug UART. Sometimes after disconnecting HDMI, i'm getting the > expected screen. > > [ 3.253930] vc4-drm soc:gpu: bound 20902000.hdmi (ops vc4_hdmi_ops) > [ 3.283413] vc4-drm soc:gpu: bound 20806000.vec (ops vc4_vec_ops) > [ 3.310306] vc4-drm soc:gpu: bound 20400000.hvs (ops vc4_hvs_ops) > [ 3.339131] vc4-drm soc:gpu: bound 20206000.pixelvalve (ops vc4_crtc_ops) > [ 3.368727] vc4-drm soc:gpu: bound 20207000.pixelvalve (ops vc4_crtc_ops) > [ 3.397935] vc4-drm soc:gpu: bound 20807000.pixelvalve (ops vc4_crtc_ops) > [ 3.450306] vc4-drm soc:gpu: bound 20c00000.v3d (ops vc4_v3d_ops) > [ 3.475686] checking generic (e330000 8ca000) vs hw (0 ffffffff) > [ 3.475700] fb: switching to vc4drmfb from simple > [ 3.499714] Console: switching to colour dummy device 80x30 > [ 3.520255] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0 > [ 3.527030] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 3.533779] [drm] Driver supports precise vblank timestamp query. > [ 3.647269] ------------[ cut here ]------------ > [ 3.647320] WARNING: CPU: 0 PID: 10 at drivers/gpu/drm/drm_atomic_helper.c:1349 drm_atomic_helper_wait_for_vblanks+0x1fc/0x21c > [ 3.647328] [CRTC:68:crtc-2] vblank wait timed out > [ 3.647333] Modules linked in: > [ 3.647354] CPU: 0 PID: 10 Comm: kworker/0:1 Not tainted 4.15.0+ #2 > [ 3.647358] Hardware name: BCM2835 > [ 3.647383] Workqueue: events deferred_probe_work_func > [ 3.647429] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) > [ 3.647459] [] (show_stack) from [] (dump_stack+0x20/0x28) > [ 3.647488] [] (dump_stack) from [] (__warn+0xec/0x104) > [ 3.647509] [] (__warn) from [] (warn_slowpath_fmt+0x48/0x50) > [ 3.647532] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0x1fc/0x21c) > [ 3.647556] [] (drm_atomic_helper_wait_for_vblanks) from [] (vc4_atomic_complete_commit+0x80/0xb8) Boris's clk series (https://patchwork.kernel.org/patch/10207161/) from Thursday was trying to fix some of this type of failure. > Additionally after 10 minutes there are memleaks like this: > > unreferenced object 0xc8cb5c00 (size 64): > comm "kworker/0:1", pid 10, jiffies 4294937654 (age 881.050s) > hex dump (first 32 bytes): > 10 e0 ca c8 01 00 00 00 00 00 00 00 0c 5c cb c8 .............\.. > 0c 5c cb c8 ff ff ff ff 18 5c cb c8 18 5c cb c8 .\.......\...\.. > backtrace: > [<7c3bc269>] kmemleak_alloc+0x78/0xc0 > [] kmem_cache_alloc_trace+0xfc/0x1e4 > [<6ecb9de5>] drm_atomic_helper_setup_commit+0xa4/0x3b8 > [] vc4_atomic_commit+0x30/0x11c > [] drm_atomic_commit+0x54/0x68 I expect this is just waiting for this commit to trickle in: commit 1c6ceeee6ebbcdf9839dbce00719162591180524 Author: Leo (Sunpeng) Li Date: Wed Jan 17 12:51:08 2018 +0100 drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlp/KtIACgkQtdYpNtH8 nujixg/7B61hjajOswAEqe7GVG4voFj8dSg6D0ERoG+lK78q48CTFb47f3Hd0Ikr 1OoDWODyPdMiX7vNKhM0Fj4M40eiDEsPrj2+bsOTUo9IoOkQvzalYE1g5DITklG4 rrvsyF4Qc4rJOuzIPQHIA6wNsq8RsGwluGqKPbZSM7hhWzbb2EFkNrQ1M5iJKKCf ny8+eIwiUje5VrXzfRTfGAU/JHRIAr4/bk4Z9OTWt4awCNmOhomCzTGs8Kpe+sUU JPCnJGyaerGZ1DKQ4kpnk/j38RAIsoqgzAKuJuOFHF/8kEPs5FHxiojuh27cmFWf bkEDexon7AyU8fC3Cfb0RaKyrtTSDalm+ZnIC8mqwoaIQ6tSeCq9Vh90jMv4hEMz 5ZRS3osoweFSCfRTf9uDkWg+QFQtaVZ2/GMrnUkJxkDe01k1HFpgXlE3SXPaApfP HVbrjRbxUI5KSW4/ohZqytDaRMNRtwvTacAYEiBzo3gYWnVKMDnoor8ChZRBEQPv ZIaZk2soEI4Rrx0RRd02jpcv9tNuu4mgfBvuGEhjYNq0R4A21Wp38QwNVdczxM8x iATkd+XQSHcCoLz5Moriu0ro0ov1fr8A1wHxFq9ekl8ZZoKdDT0eNepPFOWqLOec maxcI3Pmope68qRlJw5yiAUCvbHuQySFEJYBs8bv8VrbWAFutJQ= =i15U -----END PGP SIGNATURE----- --=-=-=-- --===============0735882976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0735882976==--