Hi!
> ah ok, so at this stage swsuspending a X desktop doesn't work in general
> case, of course depending on video hardware? If X had some notion of
> suspend/resume things would be easier, than insisting every single
> driver save and restore all. After all the pci config space should be
> enough for kernel drivers?
Look how swsusp handles it: we switch to text console (which means X
gets told to bring vga card to some sane state). We should do the same
for S3.
I'm using vesafb, which needs no special support for suspend/resume
;-). [And its very good for system stability; with notebook's LCD I
don't care about low refresh (1).]
Pavel
(1). I've seen notebooks LCD flashing at 25Hz, but VESA modes are
fortunately better than *that*.
-- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:45 EST