Received: by 10.192.165.148 with SMTP id m20csp4735224imm; Tue, 24 Apr 2018 07:37:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx495ijDg83TKMKUM95oXG4jc4a+sYr/56Kt2XLkTpFVmuaCQXY/NRZ2iaNgtoEseYpg/s5GZ X-Received: by 2002:a17:902:4545:: with SMTP id m63-v6mr25734901pld.268.1524580633355; Tue, 24 Apr 2018 07:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524580633; cv=none; d=google.com; s=arc-20160816; b=QzEElL2RjiQSpeQptoCY+Stk7SZ3wNxhojqrRCgAhlEVNZUO5CMSlNGSSqbFxElaem RCQGVp1Xo0qfLFCE4de5Eq7F1PtobYkUtlnXdlhE9hBDmk6/nC1iJ3RtShEZ6GPvkfXL EE94/xxQOIf9CX477s3BZrPdgWC7hFpS/CNcpIz6aVJIRLWsvKjpvOeEQkXVHE+/foqb JwMsZeHm+8DHqtbaGeI92XJnwlb4YLAXBaKDiEEShxTpu2f40+NneIzcFZ+KoXs8omZq WCOg8GWMJqlTPASEtz0kqhJL3SUb2LQd/VSX+evSF8EuLNYtQpbN3yHgyHRx5D8BE4aY alXg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject:arc-authentication-results; bh=mjw1xqxBOLzGwQ5RYiNcL7n2diCdtiMyJMYhbEG7sy4=; b=xkz6LKUzcVvz7YQChOm7CMxt4ITByMq+3Vfg5wd30ADczIR1Cspq/kBEkyP0jJNA4N HQnxroIkdnXzQxIaE79oHQBOyx/anHdF8RAANbQzWGOdpeWIlORerZuYN5kJlUYs5Ljz XhBQlyLhXfr41GVnKUfkc9EBmi43XelY5saXpPAYyjnkLK20QkBrGsQCVWWF5y4vWrCA DsrfMo1ssKn7NgAt9iFSB9kqKtL9y/wOT/opph00vzkw+RU38KvA6MXfo37hMdxNTl5M aIuD/d3B5LTXzNSS40zcG8dfFsTfhGzq/skpj2AQ6zGNSnZE78Z/7IHFGbrnD9GN9IhP pSzQ== 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 e3-v6si13826087pld.229.2018.04.24.07.36.58; Tue, 24 Apr 2018 07:37:13 -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 S933286AbeDXNLk (ORCPT + 99 others); Tue, 24 Apr 2018 09:11:40 -0400 Received: from vegas.theobroma-systems.com ([144.76.126.164]:42858 "EHLO mail.theobroma-systems.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757726AbeDXNLf (ORCPT ); Tue, 24 Apr 2018 09:11:35 -0400 Received: from [86.59.122.178] (port=49274 helo=ju27.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fAxjC-0000eK-Oi; Tue, 24 Apr 2018 15:11:26 +0200 Subject: Re: [regression, bisected] rockchip rk3399 video output breakage To: JeffyChen , linux-kernel@vger.kernel.org, Joerg Roedel , linux-rockchip@lists.infradead.org References: <3beabd18-0c39-be65-cfe7-8498dc7c296b@theobroma-systems.com> <5ADF24F3.6070106@rock-chips.com> Cc: klaus.goger@theobroma-systems.com From: Jakob Unterwurzacher Message-ID: Date: Tue, 24 Apr 2018 15:11:26 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5ADF24F3.6070106@rock-chips.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.04.18 14:37, JeffyChen wrote: > > right, i think it's a known issue, as the iommu failed to get clks: > [    1.525153] rk_iommu ff8f3f00.iommu: Failed to get clk 'iface': -2 > [    1.525316] rk_iommu: probe of ff8f3f00.iommu failed with error -2 > [    1.525484] rk_iommu ff903f00.iommu: Failed to get clk 'iface': -2 > [    1.525643] rk_iommu: probe of ff903f00.iommu failed with error -2 > > > there's a followed patch to add those clks to the dtsi, and also a fix > patch to make those clks optional(by heiko): > > https://www.spinics.net/lists/arm-kernel/msg645696.html > > http://lists.infradead.org/pipermail/linux-rockchip/2018-April/020349.html Thanks, I tested both, and both get the screen to display some kernel output! However, I am getting some nasty error messages and the screen seems to refresh only once every 30 seconds: > [ 15.586502] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:30:crtc-0] flip_done timed out > [ 25.826490] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:37:HDMI-A-1] flip_done timed out > [ 36.066490] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [PLANE:28:plane-0] flip_done timed out > [ 36.066504] [drm:drm_calc_timestamping_constants] crtc 30: hwmode: htotal 2200, vtotal 1125, vdisplay 1080 > [ 36.066508] [drm:drm_calc_timestamping_constants] crtc 30: clock 148500 kHz framedur 16666666 linedur 14814 > [ 36.076535] rockchip-vop ff8f0000.vop: [drm:vop_crtc_atomic_flush] *ERROR* VOP vblank IRQ stuck for 10 ms > [ 36.076577] WARNING: CPU: 1 PID: 83 at drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1004 vop_crtc_atomic_flush+0x1c0/0x1c8 Full dmesg with patch "arm64: dts: rockchip: add clocks in iommu nodes": https://gist.github.com/jakob-tsd/3fd49894d52dcd8a409eb9e6136b2d39 Full dmesg with patch "iommu/rockchip: make clock handling optional": https://gist.github.com/jakob-tsd/da96572a40d11f0f6dff3ee481098138 (looks the same) Thanks, Jakob