[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1333360116.30734.50.camel@pasglop>
Date: Mon, 02 Apr 2012 19:48:36 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: David Airlie <airlied@...hat.com>
Cc: Anton Vorontsov <cbou@...l.ru>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Woodhouse <dwmw2@...radead.org>, dri-devel@...ts.freedesktop.org,
David@...edesktop.org, linux-kernel@...r.kernel.org
Subject: Re: broken nouveau dependency on power supply
On Mon, 2012-04-02 at 05:00 -0400, David Airlie wrote:
> > - Better: Just make the bloody thing a bool :-) The power supply
> > framework itself is small enough, just make it a boolean option and
> > avoid the problem entirely. The actual power supply sub drivers can
> > remain modular of course.
>
> We can just do select POWER_SUPPLY.
Well, select'ing otherwise user configurable options was still frowned
on last we discussed that... and it makes the whole inline stubs in
power_supply.h totally pointless :-)
> Yes it reduces the option range for some stupid corner case but really
> I don't care, removing features from the kernel that a driver depends
> on is just leading to insane state combination and QA problems.
Well, the power supply stuff only works if you have a backend for it,
which not all platforms are, and it's fairly safe to assume AC whenever
it's not actually supported.
(Talking of which, we should be able to do a PowerBook backend
reasonably easily).
I don't care which solution you guys end up choosing though, just fix
it :-)
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists