From: Damien Lespiau <damien.lespiau@intel.com>
To: Ben Widawsky <benjamin.widawsky@intel.com>
Cc: Intel GFX <intel-gfx@lists.freedesktop.org>,
Ben Widawsky <ben@bwidawsk.net>,
josh@joshtriplett.org
Subject: Re: [PATCH] drm/Kconfig: favor n for DRM_I915_PRELIMINARY_HW_SUPPORT
Date: Tue, 20 Aug 2013 01:08:22 +0100 [thread overview]
Message-ID: <20130820000822.GA1845@strange.config> (raw)
In-Reply-To: <1376954440-26434-1-git-send-email-benjamin.widawsky@intel.com>
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.
> As such:
> Set default to n
> Display message for what users should select (N)
> and while there, a small whitespace fix.
>
> Cc Josh Triplett <josh@joshtriplett.org>
Missing the ':' so you didn't end up Ccing Josh.
> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
> ---
> 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)
> help
> Choose this option if you have prerelease Intel hardware and want the
> - i915 driver to support it by default. You can enable such support at
> + i915 driver to support it by default. You can enable such support at
The Kconfig files have both styles, 2 spaces or 1 space after the '.'.
> runtime with the module option i915.preliminary_hw_support=1; this
> option changes the default for that module option.
>
> + If in doubt, say "N".
> +
> config DRM_MGA
> tristate "Matrox g200/g400"
> depends on DRM && PCI
> --
> 1.8.3.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2013-08-20 0:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-19 23:20 [PATCH] drm/Kconfig: favor n for DRM_I915_PRELIMINARY_HW_SUPPORT Ben Widawsky
2013-08-20 0:08 ` Damien Lespiau [this message]
2013-08-20 0:25 ` Ben Widawsky
2013-08-20 0:54 ` Josh Triplett
2013-08-20 11:26 ` Damien Lespiau
2013-08-20 12:21 ` Daniel Vetter
2013-08-20 0:29 ` Josh Triplett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130820000822.GA1845@strange.config \
--to=damien.lespiau@intel.com \
--cc=ben@bwidawsk.net \
--cc=benjamin.widawsky@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=josh@joshtriplett.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.