Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5769434ybi; Tue, 28 May 2019 19:48:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTKMlzJZD/Z53bBVsIPyAizYdh1qa9q4szbklXnomUu+fPn8JL4jL4jpFDEz89WXOnhImB X-Received: by 2002:a63:6884:: with SMTP id d126mr136441572pgc.154.1559098090194; Tue, 28 May 2019 19:48:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559098090; cv=none; d=google.com; s=arc-20160816; b=jMpL37fnF7H2590qojs22jnM0+BFdjKlOdacnkB7k8i/cyyXwNkpSfRJR4ygbAlTE/ t0Irf3kYx4K+CC98Zzwy02522BEE87UEEpqk7H9oRqP9nOXyobO33fW4IRuu+JX/R7R6 tWYuFfuVVd4tz9td9ScF458NZ852HyMkqFN85mKTkAo8Lj8Pfv3WizNTS2n1AoitVK5T Kv2d67uN+9m3GtDpRCOHAevcfItGiywCACHSrFuofbT5QzYwMTPnDweeVTlRsOLaGF5p Fc7WJZnysBFtJ4m6Js05YmWbQfSlbjLY0wzBghZxN0cmrrJ0xNNdOYavKD8jrOPeKeWd K9xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=UwXXuGf3XsOsJ98HGQZMkMPCnF5lxXhwgScCXJf954s=; b=tDKLRKMYGo9qIwqec1FrT75/iDs8u7kHfuitzUtEx3Yz9hRDrSeyu8pl0/GWNWoAGY QS4VrFagsiUeA+G/OIh4echpMjjjdn+jURt+oceZUVLvBRjQPfoi6jXrU8P+EG9BZxI4 BeuFJDCHty1K1E11gwZdYQ6aVRHoGK7mJGFE4eF5laX4z20F71l1mTXSBKpXr5syQd0G V7XMR8M2rb0np3Ay5bqnM7WdIx9hqUONcy5Hu/CVLFfxQlbZPJ+qgfLuX4MbEqE/8JMO DNTthRAjNdqo+qCe8F4PemKT3S9zJiH6MNDSiaXGX+WCng68AIsg3Ia6FSx7ZPhiWPpX +dFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b=C9rPPdfa; 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 w184si28693291pfw.271.2019.05.28.19.47.54; Tue, 28 May 2019 19:48:10 -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 (test mode) header.i=@onstation.org header.s=default header.b=C9rPPdfa; 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 S1726453AbfE2Cqu (ORCPT + 99 others); Tue, 28 May 2019 22:46:50 -0400 Received: from onstation.org ([52.200.56.107]:41642 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbfE2Cqu (ORCPT ); Tue, 28 May 2019 22:46:50 -0400 Received: from localhost (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id AF6A73E93F; Wed, 29 May 2019 02:46:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1559098009; bh=aRBBhy0Kk6XSGsl/Ftb8O8lFKtAxihQWGmXQEY0I06w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C9rPPdfaKmSr7mTVb+0Lk2lfnDbgZbDzftRQhz3hjeRFgTNa0pRlOicd50dvk90EX taUjiI1yBvgyypyXxKqtcP+/7WALm3KK7iRwqrpZxCxjplv7JEC7NEX91fCSLCDA4F l27G7XLjh2AtIX3DNrY7JEldf2XaU3DKwU7EsExo= Date: Tue, 28 May 2019 22:46:48 -0400 From: Brian Masney To: Jeffrey Hugo Cc: Linus Walleij , Sean Paul , Rob Herring , Jonathan Marek , Dave Airlie , MSM , "linux-kernel@vger.kernel.org" , "open list:DRM PANEL DRIVERS" , Rob Clark , Daniel Vetter , freedreno@lists.freedesktop.org Subject: Re: [Freedreno] [PATCH RFC v2 0/6] ARM: qcom: initial Nexus 5 display support Message-ID: <20190529024648.GA13436@basecamp> References: <20190509020352.14282-1-masneyb@onstation.org> <20190529011705.GA12977@basecamp> <20190529013713.GA13245@basecamp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 28, 2019 at 07:42:19PM -0600, Jeffrey Hugo wrote: > > > Do you know if the nexus 5 has a video or command mode panel? There > > > is some glitchyness with vblanks and command mode panels. > > > > Its in command mode. I know this because I see two 'pp done time out' > > messages, even on 4.17. Based on my understanding, the ping pong code is > > only applicable for command mode panels. > > Actually, the ping pong element exists in both modes, but 'pp done > time out' is a good indicator that it is command mode. > > Are you also seeing vblank timeouts? Yes, here's a snippet of the first one. [ 2.556014] WARNING: CPU: 0 PID: 5 at drivers/gpu/drm/drm_atomic_helper.c:1429 drm_atomic_helper_wait_for_vblanks.part.1+0x288/0x290 [ 2.556020] [CRTC:49:crtc-0] vblank wait timed out [ 2.556023] Modules linked in: [ 2.556034] CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.2.0-rc1-00178-g72c3c1fd5f86-dirty #426 [ 2.556038] Hardware name: Generic DT based system [ 2.556056] Workqueue: events deferred_probe_work_func ... > Do you have busybox? > > Can you run - > sudo busybox devmem 0xFD900614 > sudo busybox devmem 0xFD900714 > sudo busybox devmem 0xFD900814 > sudo busybox devmem 0xFD900914 > sudo busybox devmem 0xFD900A14 # busybox devmem 0xFD900614 0x00020020 # busybox devmem 0xFD900714 0x00000000 # busybox devmem 0xFD900814 0x00000000 # busybox devmem 0xFD900914 0x00000000 # busybox devmem 0xFD900A14 0x00000000 I get the same values with the mainline kernel and 4.17. Brian