Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752811AbdLDTaO (ORCPT ); Mon, 4 Dec 2017 14:30:14 -0500 Received: from mail3.start.ca ([64.140.120.243]:46046 "EHLO mail3.start.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751219AbdLDTaN (ORCPT ); Mon, 4 Dec 2017 14:30:13 -0500 Date: Mon, 4 Dec 2017 14:30:01 -0500 From: Nick Bowler To: Laurent Pinchart 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) Message-ID: <20171204193001.dduxkafufgpeexk2@aura.draconx.ca> References: <20171128033044.bw4jwps2gya2vbig@aura.draconx.ca> <20171201001146.fezhkf5c3zrbqjlj@aura.draconx.ca> <1710500.fZbdeDGCTu@avalon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1710500.fZbdeDGCTu@avalon> User-Agent: NeoMutt/20171027 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 604 Lines: 19 Hi, 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. Cheers, -- Nick Bowler