All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@nokia.com>
To: ext Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>,
	"ext Nilofer, Samreen" <samreen@ti.com>,
	Grazvydas Ignotas <notasas@gmail.com>,
	"Hiremath, Vaibhav" <hvaibhav@ti.com>,
	"Quadros Roger (Nokia-MS/Helsinki)" <roger.quadros@nokia.com>,
	"Guruswamy, Senthilvadivu" <svadivu@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-fbdev@vger.kernel.org" <linux-fbdev@vger.kernel.org>
Subject: Re: [PATCH v4] OMAP3: DSS: Kconfig changes to enable display
Date: Wed, 17 Nov 2010 12:28:11 +0000	[thread overview]
Message-ID: <1289996891.26444.16.camel@tubuntu> (raw)
In-Reply-To: <20101116201054.GC9264@atomide.com>

On Tue, 2010-11-16 at 21:10 +0100, ext Tony Lindgren wrote:
> * Kevin Hilman <khilman@deeprootsystems.com> [101116 11:45]:
> > Tony Lindgren <tony@atomide.com> writes:
> > 
> > > * Tomi Valkeinen <tomi.valkeinen@nokia.com> [101116 05:41]:
> > >> On Tue, 2010-11-16 at 07:09 +0100, ext Nilofer, Samreen wrote:
> > >> > Hi,
> > >> >   Any more comments on this patch?
> > >> 
> > >> I'm not sure if enabling kernel options by default is a good thing.
> > >> Somehow I remember that enabling things by default is not looked kindly
> > >> at. Shouldn't they be enabled in the arch/arm/configs config file, if
> > >> they are wanted?
> > >> 
> > >> Tony, do you have opinnion on this? Should DSS features be enabled by
> > >> default in the Kconfig files, or only in the board config file?
> > >
> > > The best thing would be to have DSS y if ARCH_OMAP2PLUS or similar,
> > > then have all the features built in and pass the configuration options
> > > in platform_data. That still allows disabling certain features with
> > > Kconfig if needed for memory consumption etc. But the omap2plus_defconfig
> > > should "just work" on all the boards.
> > 
> > Personally, I'd much rather see DSS core and optional features default
> > to being built as a module.
> > 
> > Other than a splash screen, there's no reason DSS is needed for a
> > minimal boot.
> 
> Sure a module would be even better. My point is that the selection of
> all the features should be enabled by default and the board options come
> from platform_data.

Ok, let's build DSS & all panel drivers as modules by default.

Somehow I've gotten the impression from linux ml that enabling features
by default is bad. But perhaps it's more about intervening features than
normal drivers.

Samreen, will you change the patch to set DSS & panel drivers to be
built as modules by default? Optimally all display interfaces should be
enabled, but I believe at least SDI and DSI are currently slightly
broken, because they prevent DSS from initializing if SDI/DSI regulator
is not defined in the board file. So perhaps we should start with only
DPI and VENC enabled (plus all the DPI panels).

Also, this patch could be based on top of Bryan Wu's new generic panel
patch set, which I'll perhaps apply today to my tree if I find no more
to comment about.

 Tomi



WARNING: multiple messages have this Message-ID (diff)
From: Tomi Valkeinen <tomi.valkeinen@nokia.com>
To: ext Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>,
	"ext Nilofer, Samreen" <samreen@ti.com>,
	Grazvydas Ignotas <notasas@gmail.com>,
	"Hiremath, Vaibhav" <hvaibhav@ti.com>,
	"Quadros Roger (Nokia-MS/Helsinki)" <roger.quadros@nokia.com>,
	"Guruswamy, Senthilvadivu" <svadivu@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-fbdev@vger.kernel.org" <linux-fbdev@vger.kernel.org>
Subject: Re: [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3
Date: Wed, 17 Nov 2010 14:28:11 +0200	[thread overview]
Message-ID: <1289996891.26444.16.camel@tubuntu> (raw)
In-Reply-To: <20101116201054.GC9264@atomide.com>

On Tue, 2010-11-16 at 21:10 +0100, ext Tony Lindgren wrote:
> * Kevin Hilman <khilman@deeprootsystems.com> [101116 11:45]:
> > Tony Lindgren <tony@atomide.com> writes:
> > 
> > > * Tomi Valkeinen <tomi.valkeinen@nokia.com> [101116 05:41]:
> > >> On Tue, 2010-11-16 at 07:09 +0100, ext Nilofer, Samreen wrote:
> > >> > Hi,
> > >> >   Any more comments on this patch?
> > >> 
> > >> I'm not sure if enabling kernel options by default is a good thing.
> > >> Somehow I remember that enabling things by default is not looked kindly
> > >> at. Shouldn't they be enabled in the arch/arm/configs config file, if
> > >> they are wanted?
> > >> 
> > >> Tony, do you have opinnion on this? Should DSS features be enabled by
> > >> default in the Kconfig files, or only in the board config file?
> > >
> > > The best thing would be to have DSS y if ARCH_OMAP2PLUS or similar,
> > > then have all the features built in and pass the configuration options
> > > in platform_data. That still allows disabling certain features with
> > > Kconfig if needed for memory consumption etc. But the omap2plus_defconfig
> > > should "just work" on all the boards.
> > 
> > Personally, I'd much rather see DSS core and optional features default
> > to being built as a module.
> > 
> > Other than a splash screen, there's no reason DSS is needed for a
> > minimal boot.
> 
> Sure a module would be even better. My point is that the selection of
> all the features should be enabled by default and the board options come
> from platform_data.

Ok, let's build DSS & all panel drivers as modules by default.

Somehow I've gotten the impression from linux ml that enabling features
by default is bad. But perhaps it's more about intervening features than
normal drivers.

Samreen, will you change the patch to set DSS & panel drivers to be
built as modules by default? Optimally all display interfaces should be
enabled, but I believe at least SDI and DSI are currently slightly
broken, because they prevent DSS from initializing if SDI/DSI regulator
is not defined in the board file. So perhaps we should start with only
DPI and VENC enabled (plus all the DPI panels).

Also, this patch could be based on top of Bryan Wu's new generic panel
patch set, which I'll perhaps apply today to my tree if I find no more
to comment about.

 Tomi



  reply	other threads:[~2010-11-17 12:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26  3:17 [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3 Samreen
2010-10-26  3:29 ` Samreen
2010-11-16  6:09 ` Nilofer, Samreen
2010-11-16  6:21   ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display Nilofer, Samreen
2010-11-16 13:50   ` Tomi Valkeinen
2010-11-16 13:50     ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3 Tomi Valkeinen
2010-11-16 19:38     ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display Tony Lindgren
2010-11-16 19:38       ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3 Tony Lindgren
2010-11-16 19:55       ` Kevin Hilman
2010-11-16 19:55         ` Kevin Hilman
2010-11-16 20:10         ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display Tony Lindgren
2010-11-16 20:10           ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3 Tony Lindgren
2010-11-17 12:28           ` Tomi Valkeinen [this message]
2010-11-17 12:28             ` Tomi Valkeinen
2010-11-18  6:18             ` Paul Mundt
2010-11-18  6:18               ` Paul Mundt
2010-11-18 16:44               ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display Tony Lindgren
2010-11-18 16:44                 ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3 Tony Lindgren
2010-11-18 18:38                 ` Paul Mundt
2010-11-18 18:38                   ` Paul Mundt
2010-11-18 19:10                   ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display Tony Lindgren
2010-11-18 19:10                     ` [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3 Tony Lindgren

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=1289996891.26444.16.camel@tubuntu \
    --to=tomi.valkeinen@nokia.com \
    --cc=hvaibhav@ti.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=notasas@gmail.com \
    --cc=roger.quadros@nokia.com \
    --cc=samreen@ti.com \
    --cc=svadivu@ti.com \
    --cc=tony@atomide.com \
    /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.