From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270726AbTGUVM1 (ORCPT ); Mon, 21 Jul 2003 17:12:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270728AbTGUVM0 (ORCPT ); Mon, 21 Jul 2003 17:12:26 -0400 Received: from mx1.redhat.com ([66.187.233.31]:5649 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S270726AbTGUVMS (ORCPT ); Mon, 21 Jul 2003 17:12:18 -0400 Message-ID: <3F1C5C26.10607@kolumbus.fi> Date: Tue, 22 Jul 2003 00:33:26 +0300 From: =?ISO-8859-1?Q?Mika_Penttil=E4?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pavel Machek CC: linux-kernel@vger.redhat.com Subject: Re: swsusp / 2.6.0-test1 References: <1058805510.15585.7.camel@simulacron> <20030721193615.GB473@elf.ucw.cz> X-MIMETrack: Itemize by SMTP Server on marconi.hallinto.turkuamk.fi/TAMK(Release 5.0.8 |June 18, 2001) at 22.07.2003 00:28:37, Serialize by Router on notes.hallinto.turkuamk.fi/TAMK(Release 5.0.10 |March 22, 2002) at 22.07.2003 00:28:08, Serialize complete at 22.07.2003 00:28:08 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Pavel Machek wrote: >Hi! > > > >>swsusp is working fine, but mplayer >>in sdl and xv output mode displays a blank >>screen after a resume. >> >> > > > >You probably need to write suspend/resume support for your card. > > Pavel > > Just wondering what kind of support for suspend/resume is "enough", say for video cards? Surely not the pci configuration space, you need to restore video mode, color maps, gfx engine state etc etc...what about frame buffer contents on card? Probably yes. Sounds like a lot of code, and different thing for every possible video card. Is there some general guidance here? Is drivers/video soon bloating with tons of suspend/resume code? I hope I am wrong :) --Mika