From: Josh Triplett Subject: Re: [PATCH] drm/Kconfig: favor n for DRM_I915_PRELIMINARY_HW_SUPPORT Date: Mon, 19 Aug 2013 17:29:45 -0700 Message-ID: <20130820002945.GA24627@jtriplet-mobl1> References: <1376954440-26434-1-git-send-email-benjamin.widawsky@intel.com> <20130820000822.GA1845@strange.config> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from slow1-d.mail.gandi.net (slow1-d.mail.gandi.net [217.70.178.86]) by gabe.freedesktop.org (Postfix) with ESMTP id A3FA3E5F91 for ; Mon, 19 Aug 2013 17:30:36 -0700 (PDT) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by slow1-d.mail.gandi.net (Postfix) with ESMTP id ACA55535A3D for ; Tue, 20 Aug 2013 02:29:53 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20130820000822.GA1845@strange.config> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Damien Lespiau Cc: Intel GFX , Ben Widawsky , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On Tue, Aug 20, 2013 at 01:08:22AM +0100, Damien Lespiau wrote: > On Mon, Aug 19, 2013 at 04:20:40PM -0700, Ben Widawsky wrote: > > We generally don't want people or distros to use this option unless they > > know what they're doing. I missed the initial conversation but it's > > likely a way for people who have a built-in i915.ko and have no other > > way to change the behavior. > > It's to be able to have a config file to generate kernels supporting > preliminary hardware, without having to always add the command line > parameter or carry a patch or changing the bootloader configuration. Exactly. > > As such: > > Set default to n > > Display message for what users should select (N) > > and while there, a small whitespace fix. > > > > Cc Josh Triplett > > Missing the ':' so you didn't end up Ccing Josh. Thanks for fixing that. :) > > Signed-off-by: Ben Widawsky > > --- > > drivers/gpu/drm/Kconfig | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig > > index 62a06c7..ad4e369 100644 > > --- a/drivers/gpu/drm/Kconfig > > +++ b/drivers/gpu/drm/Kconfig > > @@ -171,12 +171,15 @@ config DRM_I915_KMS > > config DRM_I915_PRELIMINARY_HW_SUPPORT > > bool "Enable preliminary support for prerelease Intel hardware by default" > > depends on DRM_I915 > > + default n > > That's the default, you don't have to make it explicit (but of course it > doesn't hurt). make oldconfig with this new option gives: > > Enable preliminary support for prerelease Intel hardware by default > (DRM_I915_PRELIMINARY_HW_SUPPORT) [N/y/?] (NEW) Right. I definitely would *not* have set this to default y, but default n is the default default, so it doesn't need stating. - Josh Triplett