Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-26 Thread Kay Sievers
On Fri, 2007-10-26 at 11:12 -0700, Jesse Barnes wrote: > On Friday, October 26, 2007 10:10 am Kay Sievers wrote: > > The conversion is already queued in Greg's tree, and in -mm: > > http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f >

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-26 Thread Jesse Barnes
On Friday, October 26, 2007 10:10 am Kay Sievers wrote: > The conversion is already queued in Greg's tree, and in -mm: > http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f >=driver/drm-convert-from-class_device-to-device-in-drivers-char-drm.pa

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-26 Thread Kay Sievers
On 10/26/07, Jesse Barnes <[EMAIL PROTECTED]> wrote: > On Thursday, October 25, 2007 9:59 pm Greg KH wrote: > > On Thu, Oct 25, 2007 at 04:53:18PM -0700, Jesse Barnes wrote: > > > Ok, here's yet another version that uses the device model for the > > > suspend/resume, rather than pci hooks. > > > >

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-26 Thread Jesse Barnes
On Thursday, October 25, 2007 9:59 pm Greg KH wrote: > On Thu, Oct 25, 2007 at 04:53:18PM -0700, Jesse Barnes wrote: > > Ok, here's yet another version that uses the device model for the > > suspend/resume, rather than pci hooks. > > > > Greg, DRM desperately needs review of its device model

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-26 Thread Jesse Barnes
On Thursday, October 25, 2007 9:59 pm Greg KH wrote: On Thu, Oct 25, 2007 at 04:53:18PM -0700, Jesse Barnes wrote: Ok, here's yet another version that uses the device model for the suspend/resume, rather than pci hooks. Greg, DRM desperately needs review of its device model usage, can

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-26 Thread Kay Sievers
On 10/26/07, Jesse Barnes [EMAIL PROTECTED] wrote: On Thursday, October 25, 2007 9:59 pm Greg KH wrote: On Thu, Oct 25, 2007 at 04:53:18PM -0700, Jesse Barnes wrote: Ok, here's yet another version that uses the device model for the suspend/resume, rather than pci hooks. Greg, DRM

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-26 Thread Jesse Barnes
On Friday, October 26, 2007 10:10 am Kay Sievers wrote: The conversion is already queued in Greg's tree, and in -mm: http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f =driver/drm-convert-from-class_device-to-device-in-drivers-char-drm.pa

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-26 Thread Kay Sievers
On Fri, 2007-10-26 at 11:12 -0700, Jesse Barnes wrote: On Friday, October 26, 2007 10:10 am Kay Sievers wrote: The conversion is already queued in Greg's tree, and in -mm: http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-25 Thread Greg KH
On Thu, Oct 25, 2007 at 04:53:18PM -0700, Jesse Barnes wrote: > Ok, here's yet another version that uses the device model for the > suspend/resume, rather than pci hooks. > > Greg, DRM desperately needs review of its device model usage, can you > take a look at this patch and the current

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-25 Thread Jesse Barnes
Ok, here's yet another version that uses the device model for the suspend/resume, rather than pci hooks. Greg, DRM desperately needs review of its device model usage, can you take a look at this patch and the current drm_sysfs.c code? Right now, we're mixing class_devices and regular devices

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-25 Thread Jesse Barnes
Ok, here's yet another version that uses the device model for the suspend/resume, rather than pci hooks. Greg, DRM desperately needs review of its device model usage, can you take a look at this patch and the current drm_sysfs.c code? Right now, we're mixing class_devices and regular devices

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-25 Thread Greg KH
On Thu, Oct 25, 2007 at 04:53:18PM -0700, Jesse Barnes wrote: Ok, here's yet another version that uses the device model for the suspend/resume, rather than pci hooks. Greg, DRM desperately needs review of its device model usage, can you take a look at this patch and the current drm_sysfs.c

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Jesse Barnes
On Wednesday, October 24, 2007 1:17 pm Adrian Bunk wrote: > > diff --git a/linux-core/Kconfig b/linux-core/Kconfig > > index 2d02c76..5e73fc7 100644 > > --- a/linux-core/Kconfig > > +++ b/linux-core/Kconfig > > @@ -50,7 +50,7 @@ config DRM_I810 > > > > choice > > prompt "Intel 830M, 845G,

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Rafael J. Wysocki
On Wednesday, 24 October 2007 17:18, Jesse Barnes wrote: > On Wednesday, October 24, 2007 6:35:14 am Pavel Machek wrote: > > Hi! > > > > > We seem to see a lot of bug reports along the lines of, "my machine > > > resumes but I can't see X" or, "I can see X but only with a bright > > > flashlight",

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Adrian Bunk
On Mon, Oct 22, 2007 at 09:15:43PM -0700, Jesse Barnes wrote: > On Friday, October 19, 2007, Jesse Barnes wrote: > > Dave can you take a look at the new flag and also see what you think > > about supporting suspend/resume in the event X hasn't started yet? > > There's some #if 0'd code to support

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Jesse Barnes
On Wednesday, October 24, 2007 6:35:14 am Pavel Machek wrote: > Hi! > > > We seem to see a lot of bug reports along the lines of, "my machine > > resumes but I can't see X" or, "I can see X but only with a bright > > flashlight", etc. These sorts of problems are due to the fact that > > the X

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Pavel Machek
Hi! > We seem to see a lot of bug reports along the lines of, "my machine > resumes but I can't see X" or, "I can see X but only with a bright > flashlight", etc. These sorts of problems are due to the fact that > the X server isn't designed to do full state save/restore, and none > of the

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Pavel Machek
Hi! We seem to see a lot of bug reports along the lines of, my machine resumes but I can't see X or, I can see X but only with a bright flashlight, etc. These sorts of problems are due to the fact that the X server isn't designed to do full state save/restore, and none of the available

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Jesse Barnes
On Wednesday, October 24, 2007 6:35:14 am Pavel Machek wrote: Hi! We seem to see a lot of bug reports along the lines of, my machine resumes but I can't see X or, I can see X but only with a bright flashlight, etc. These sorts of problems are due to the fact that the X server isn't

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Adrian Bunk
On Mon, Oct 22, 2007 at 09:15:43PM -0700, Jesse Barnes wrote: On Friday, October 19, 2007, Jesse Barnes wrote: Dave can you take a look at the new flag and also see what you think about supporting suspend/resume in the event X hasn't started yet? There's some #if 0'd code to support that

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Rafael J. Wysocki
On Wednesday, 24 October 2007 17:18, Jesse Barnes wrote: On Wednesday, October 24, 2007 6:35:14 am Pavel Machek wrote: Hi! We seem to see a lot of bug reports along the lines of, my machine resumes but I can't see X or, I can see X but only with a bright flashlight, etc. These sorts

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Jesse Barnes
On Wednesday, October 24, 2007 1:17 pm Adrian Bunk wrote: diff --git a/linux-core/Kconfig b/linux-core/Kconfig index 2d02c76..5e73fc7 100644 --- a/linux-core/Kconfig +++ b/linux-core/Kconfig @@ -50,7 +50,7 @@ config DRM_I810 choice prompt Intel 830M, 845G, 852GM, 855GM, 865G

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-22 Thread Jesse Barnes
On Friday, October 19, 2007, Jesse Barnes wrote: > Dave can you take a look at the new flag and also see what you think > about supporting suspend/resume in the event X hasn't started yet? > There's some #if 0'd code to support that case, but I haven't tested > it. Ok Dave, this one's been

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-22 Thread Jesse Barnes
On Friday, October 19, 2007, Jesse Barnes wrote: Dave can you take a look at the new flag and also see what you think about supporting suspend/resume in the event X hasn't started yet? There's some #if 0'd code to support that case, but I haven't tested it. Ok Dave, this one's been updated

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-19 Thread Jesse Barnes
On Thursday, October 18, 2007 2:01 pm Jesse Barnes wrote: > We seem to see a lot of bug reports along the lines of, "my machine > resumes but I can't see X" or, "I can see X but only with a bright > flashlight", etc. These sorts of problems are due to the fact that > the X server isn't designed

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-19 Thread Jesse Barnes
On Thursday, October 18, 2007 2:01 pm Jesse Barnes wrote: We seem to see a lot of bug reports along the lines of, my machine resumes but I can't see X or, I can see X but only with a bright flashlight, etc. These sorts of problems are due to the fact that the X server isn't designed to do

[RFC] full suspend/resume support for i915 DRM driver

2007-10-18 Thread Jesse Barnes
We seem to see a lot of bug reports along the lines of, "my machine resumes but I can't see X" or, "I can see X but only with a bright flashlight", etc. These sorts of problems are due to the fact that the X server isn't designed to do full state save/restore, and none of the available kernel

[RFC] full suspend/resume support for i915 DRM driver

2007-10-18 Thread Jesse Barnes
We seem to see a lot of bug reports along the lines of, my machine resumes but I can't see X or, I can see X but only with a bright flashlight, etc. These sorts of problems are due to the fact that the X server isn't designed to do full state save/restore, and none of the available kernel drivers