Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752401AbbETAhM (ORCPT ); Tue, 19 May 2015 20:37:12 -0400 Received: from mx1.scotdoyle.com ([23.226.141.211]:36064 "EHLO mx1.scotdoyle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752184AbbETAgm (ORCPT ); Tue, 19 May 2015 20:36:42 -0400 Date: Wed, 20 May 2015 00:36:24 +0000 (UTC) From: Scot Doyle To: Thierry Reding cc: Kevin Hilman , Scot Doyle , Greg Kroah-Hartman , Tomi Valkeinen , Michael Kerrisk , Jiri Slaby , Jean-Christophe Plagniol-Villard , Pavel Machek , Geert Uytterhoeven , lkml , linux-fbdev@vger.kernel.org, linux-man@vger.kernel.org, linux-api@vger.kernel.org, Tyler Baker , Olof Johansson , Daniel Stone , Arnd Bergmann Subject: Re: [PATCH v2 2/3] fbcon: use the cursor blink interval provided by vt In-Reply-To: <20150519215228.GA27163@ulmo.nvidia.com> Message-ID: References: <20150226220243.GC9935@amd> <20150325111949.GA24230@kroah.com> <20150519214011.GA27047@ulmo.nvidia.com> <20150519215228.GA27163@ulmo.nvidia.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 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: 2196 Lines: 56 On Tue, 19 May 2015, Thierry Reding wrote: > On Tue, May 19, 2015 at 02:45:19PM -0700, Kevin Hilman wrote: > > On Tue, May 19, 2015 at 2:40 PM, Thierry Reding > > wrote: ... > > > > > > FWIW, if I apply the below on top of next-20150519 things seem to be > > > back to normal as well: > > > > > > diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c > > > index 05b1d1a71ef9..658c34bb9076 100644 > > > --- a/drivers/video/console/fbcon.c > > > +++ b/drivers/video/console/fbcon.c > > > @@ -1310,8 +1310,9 @@ static void fbcon_cursor(struct vc_data *vc, int mode) > > > return; > > > > > > ops->cur_blink_jiffies = msecs_to_jiffies(vc->vc_cur_blink_ms); > > > - fbcon_del_cursor_timer(info); > > > - if (!(vc->vc_cursor_type & 0x10)) > > > + if (vc->vc_cursor_type & 0x10) > > > + fbcon_del_cursor_timer(info); > > > + else > > > fbcon_add_cursor_timer(info); > > > > > > ops->cursor_flash = (mode == CM_ERASE) ? 0 : 1; > > > > Applying this on next-20150519 makes my exynos board happily boot again as well. > > > > Tested-by: Kevin Hilman > > Excellent. Greg, Scot, any opinions on whether or not this is the right > thing to do? It restores a bit that looks suspiciously like it snuck in > in the original (at least it isn't documented in the commit message). > > Greg, feel free to squash this in if everybody agrees this is good to > go. If you prefer a patch on top let me know and I'll come up with a > proper commit message. > > Thierry Hi all, sorry for the trouble. The timer delete was to prevent blink stutter when updating the interval. Since the stutter isn't so noticable when changing from the default 200ms, and since most people seem to prefer leaving the fbcon code alone if possible, I agree with Thierry's approach. Tested-by: Scot Doyle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/