Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 8 Nov 2002 21:09:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 8 Nov 2002 21:09:34 -0500 Received: from mail.gmx.de ([213.165.64.20]:27653 "HELO mail.gmx.net") by vger.kernel.org with SMTP id ; Fri, 8 Nov 2002 21:09:33 -0500 Message-ID: <3DCC6FE9.60506@gmx.net> Date: Sat, 09 Nov 2002 03:16:09 +0100 From: Carl-Daniel Hailfinger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: de, en MIME-Version: 1.0 To: Marcelo Tosatti CC: linux-kernel , Benjamin Herrenschmidt , linux-fbdev-devel@lists.sourceforge.net Subject: Re: [PATCH] restore framebuffer console after suspend References: <3DCC5DA4.2010707@gmx.net> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------010906060804020302060701" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1321 Lines: 43 This is a multi-part message in MIME format. --------------010906060804020302060701 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Marcelo, please disregard my previous patch as it is needlessly invasive. I'm currently evaluating a smaller patch (attached) which does not require an audit of the low-level drivers and still fixes my problem. Ben, can you please comment on this? Thanks Carl-Daniel --------------010906060804020302060701 Content-Type: text/plain; name="patch-fbdev.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-fbdev.txt" ===== drivers/video/fbcon.c 1.12 vs edited ===== --- 1.12/drivers/video/fbcon.c Thu Sep 12 17:22:35 2002 +++ edited/drivers/video/fbcon.c Sat Nov 9 02:57:00 2002 @@ -1573,7 +1573,7 @@ static int fbcon_blank(struct vc_data *c return 0; #ifdef CONFIG_PM if (fbcon_sleeping) - return 0; + return blank ? 0 : 1; #endif /* CONFIG_PM */ fbcon_cursor(p->conp, blank ? CM_ERASE : CM_DRAW); --------------010906060804020302060701-- - 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/