From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume =?ISO-8859-1?Q?Cl=E9ment?= Subject: Re: drm/gma500 : Suspend/resume issues Date: Thu, 17 May 2012 01:36:29 +0200 Message-ID: <2123897.AFdnc1T6nI@freya> References: <2087472.jo0s3cjpgZ@freya> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by gabe.freedesktop.org (Postfix) with ESMTP id C10739E75D for ; Wed, 16 May 2012 16:36:22 -0700 (PDT) Received: from freya.localnet (unknown [IPv6:2a01:e35:8b3b:6a90:226:2dff:fe15:7da9]) (Authenticated sender: tortuxm@baobob.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 4CBF01720CE for ; Thu, 17 May 2012 01:36:21 +0200 (CEST) In-Reply-To: <2087472.jo0s3cjpgZ@freya> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org > Either way, if I add an empty "save" function, suspend works again (but at > the moment, resume still doesn't work, I'm still trying to work on that). > > If I just add a "if (connector->funcs->save)", this also fixes the crash. > Actually, the resume problem is exactly the same as the suspend problem. After adding an empty "resume" function in the connector function, suspend and resume both work properly.