From owner-freebsd-current@FreeBSD.ORG Mon Mar 30 16:48:55 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 66DA0106566B; Mon, 30 Mar 2009 16:48:55 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Mon, 30 Mar 2009 12:48:20 -0400 User-Agent: KMail/1.6.2 References: <200903111233.14029.jkim@FreeBSD.org> <3a142e750903291518x7f941c6ai6b27fae1472a9137@mail.gmail.com> In-Reply-To: <3a142e750903291518x7f941c6ai6b27fae1472a9137@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200903301248.42966.jkim@FreeBSD.org> Cc: Robert Noland , freebsd-amd64@freebsd.org Subject: Re: [HEADSUP] amd64 suspend/resume code to be comitted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 16:48:56 -0000 On Sunday 29 March 2009 06:18 pm, Paul B. Mahol wrote: > Just for the record: > > I tested amd64 SMP suspend/resume on HP nx7300 via usb stick and it > works. (video is resumed if agp, drm and i915 are loaded) Great. AFAIK, I believe drm(4) for Intel GPUs has proper suspend/resume code, i.e., rnoland moved the code to MI module and hooked it up to FreeBSD driver. Unfortunately, Linux crowd went crazy about KMS (Kernel Mode Setting) and didn't bother to implement it for other GPUs: https://fedoraproject.org/wiki/Features/KernelModesetting Since we don't have KMS, we have to implement the functionality in our MD driver modules, i.e., save/restore registers and VRAM. I believe rnoland is working on NVidia support code, though. > Now, if only same is going to happen with i386 .... I wish I had some free time... Thanks for the feed back! Jung-uk Kim