Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751718AbdLDTeY (ORCPT ); Mon, 4 Dec 2017 14:34:24 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:40385 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbdLDTeX (ORCPT ); Mon, 4 Dec 2017 14:34:23 -0500 From: Laurent Pinchart To: Nick Bowler Cc: Archit Taneja , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Laurent Pinchart , Linus Torvalds , Dave Airlie , Andrzej Hajda Subject: Re: PROBLEM: Asus C201 video mode problems on HDMI hotplug (regression) Date: Mon, 04 Dec 2017 21:34:36 +0200 Message-ID: <2033574.q3E8txTlp8@avalon> Organization: Ideas on Board Oy In-Reply-To: <20171204193001.dduxkafufgpeexk2@aura.draconx.ca> References: <1710500.fZbdeDGCTu@avalon> <20171204193001.dduxkafufgpeexk2@aura.draconx.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 729 Lines: 23 Hi Nick, On Monday, 4 December 2017 21:30:01 EET Nick Bowler wrote: > On 2017-12-04 21:06 +0200, Laurent Pinchart wrote: > > As you reported that the PLL lock failure message is not printed, the > > failure can only come from either the extra delay introduced by the > > above loop, or from reading the HDMI_PHY_STAT0 register. > > > > How many iterations of the for loop execute before the condition > > becomes true? > > Judging from the log posted elsethread (where I added extra printouts), > it seems to consistently become true on the second iteration. > > I will try to rule out read side effects by replacing the polling loop > with an unconditional delay. You're reading my mind :-) -- Regards, Laurent Pinchart