Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: [PATCH] PM / i915: Skip kernel VT switch during suspend/resume if KMS is used | Date | Mon, 25 Jan 2010 22:17:39 +0100 |
| |
On Monday 25 January 2010, Jesse Barnes wrote: > On Mon, 25 Jan 2010 18:43:50 +0000 > Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > > > > This probably belongs in the core DRM KMS code instead of the > > > driver. I can imagine that there may be some X driver code that > > > still needs to be executed on suspend/resume for some drivers, so > > > this may introduce bugs, but it's definitely the right way to go. > > > > You can have a mix of KMS and non KMS consoles active on different > > cards. So I don't think that is the case. > > I pity users with that configuration. > > But in that case we should be able to disable the VT switch disable > path; we just have to check each driver as it's loaded.
OK, what the right sequence of checks would be in that case and where to place them?
Rafael
| |