Re: [PATCH] PM / i915: Skip kernel VT switch during suspend/resume if KMS is used

From: Rafael J. Wysocki
Date: Mon Jan 25 2010 - 16:17:42 EST


On Monday 25 January 2010, Jesse Barnes wrote:
> On Mon, 25 Jan 2010 18:43:50 +0000
> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/