From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S275325AbTHGNef (ORCPT ); Thu, 7 Aug 2003 09:34:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S275314AbTHGNed (ORCPT ); Thu, 7 Aug 2003 09:34:33 -0400 Received: from Mix-Lyon-107-1-254.w193-249.abo.wanadoo.fr ([193.249.22.254]:40576 "EHLO gaston") by vger.kernel.org with ESMTP id S275323AbTHGNdO (ORCPT ); Thu, 7 Aug 2003 09:33:14 -0400 Subject: Re: [Linux-fbdev-devel] [PATCH] Framebuffer: 2nd try: client notification mecanism & PM From: Benjamin Herrenschmidt To: Pavel Machek Cc: James Simmons , linux-kernel mailing list , Linux Fbdev development list , Pavel Machek In-Reply-To: <20030807100309.GB166@elf.ucw.cz> References: <1060249101.1077.67.camel@gaston> <20030807100309.GB166@elf.ucw.cz> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1060263168.593.77.camel@gaston> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 07 Aug 2003 15:32:49 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2003-08-07 at 12:03, Pavel Machek wrote: > I believe solution to this is simple: always switch to kernel-owned > console during suspend. (swsusp does it, there's patch for S3 to do > the same). That way, Xfree (or qtopia or whoever) should clean up > after themselves and leave the console to the kernel. (See > kernel/power/console.c) I admit I quite like this solution. It would also help displaying something sane (blank, pattern, whatever) on screen during driver teardown instead of the junk left by X... I'll look into including that switch into my pmac code as well and see if it works properly in all cases (I think so). Also, recent DRI CVS finally has working suspend/resume (works on console switch too). Ben.