linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@nokia.com>
To: ext Samreen <samreen@ti.com>
Cc: Grazvydas Ignotas <notasas@gmail.com>,
	Vaibhav Hiremath <hvaibhav@ti.com>,
	"Quadros Roger (Nokia-MS/Helsinki)" <roger.quadros@nokia.com>,
	Senthilvadivu Guruswamy <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 v3] OMAP3: DSS: Kconfig changes to enable display
Date: Wed, 20 Oct 2010 12:52:26 +0000	[thread overview]
Message-ID: <1287579146.2142.11.camel@tubuntu> (raw)
In-Reply-To: <1287576260-14016-1-git-send-email-samreen@ti.com>

Hi,

On Wed, 2010-10-20 at 14:04 +0200, ext Samreen wrote:
> The defconfig options for display are taken in the respective Kconfig
> to enable display by default on OMAP3 platforms
> 
> Signed-off-by: Samreen <samreen@ti.com>
> ---
>  Version3:
>        Eliminate the separate default number of FBs for
>  different architecture. Keeping default FBs as 3 as before.
> 
>  Version2:
>         Enables by default NEC panel used in zoom2/3/3630sdp, instead of 
>  Sharp LQ043T1DG01 panel enabled in previous version of this patch
> 
>  drivers/video/omap2/displays/Kconfig |    3 +++
>  drivers/video/omap2/dss/Kconfig      |    6 ++++--
>  drivers/video/omap2/omapfb/Kconfig   |    1 +
>  3 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/video/omap2/displays/Kconfig b/drivers/video/omap2/displays/Kconfig
> index f8152cf..d818e44 100644
> --- a/drivers/video/omap2/displays/Kconfig
> +++ b/drivers/video/omap2/displays/Kconfig
> @@ -3,6 +3,7 @@ menu "OMAP2/3 Display Device Drivers"
>  
>  config PANEL_GENERIC
>          tristate "Generic Panel"
> +	default y
>          help
>  	  Generic panel driver.
>  	  Used for DVI output for Beagle and OMAP3 SDP.
> @@ -10,6 +11,7 @@ config PANEL_GENERIC
>  config PANEL_SHARP_LS037V7DW01
>          tristate "Sharp LS037V7DW01 LCD Panel"
>          depends on OMAP2_DSS
> +	default y
>          select BACKLIGHT_CLASS_DEVICE
>          help
>            LCD Panel used in TI's SDP3430 and EVM boards
> @@ -23,6 +25,7 @@ config PANEL_SHARP_LQ043T1DG01
>  config PANEL_NEC_NL8048HL11_01B
>  	tristate "NEC NL8048HL11-01B Panel"
>  	depends on OMAP2_DSS
> +	default y
>  	help
>  		This NEC NL8048HL11-01B panel is TFT LCD
>  		used in the Zoom2/3/3630 sdp boards.

What kernel is this based on? There's no Nec driver on my or Linus'
tree.

If you enable those panels by default, why not enable all the rest of
the panels also? And should DSI/SDI/RFBI be enabled also by default, and
all the panels that require those? Where do we draw the line?

I feel the only sane options are to keep everything off by default, or
all on by default. And setting all on by default doesn't sound too good
either...

> diff --git a/drivers/video/omap2/dss/Kconfig b/drivers/video/omap2/dss/Kconfig
> index 43b6440..f3244a2 100644
> --- a/drivers/video/omap2/dss/Kconfig
> +++ b/drivers/video/omap2/dss/Kconfig
> @@ -1,6 +1,7 @@
>  menuconfig OMAP2_DSS
>          tristate "OMAP2/3 Display Subsystem support (EXPERIMENTAL)"
>          depends on ARCH_OMAP2 || ARCH_OMAP3
> +	default y
>          help
>            OMAP2/3 Display Subsystem support.
>  
> @@ -9,7 +10,7 @@ if OMAP2_DSS
>  config OMAP2_VRAM_SIZE
>  	int "VRAM size (MB)"
>  	range 0 32
> -	default 0
> +	default 4
>  	help
>  	  The amount of SDRAM to reserve at boot time for video RAM use.
>  	  This VRAM will be used by omapfb and other drivers that need
> @@ -102,7 +103,8 @@ config OMAP2_DSS_FAKE_VSYNC
>  config OMAP2_DSS_MIN_FCK_PER_PCK
>  	int "Minimum FCK/PCK ratio (for scaling)"
>  	range 0 32
> -	default 0
> +	default 4  if ARCH_OMAP2 || ARCH_OMAP3
> +	default 0  if ARCH_OMAP4

Why is the ratio set to 4 on all OMAP2/3 boards?

 Tomi



  parent reply	other threads:[~2010-10-20 12:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-20 12:16 [PATCH v3] OMAP3: DSS: Kconfig changes to enable display options on OMAP3 Samreen
2010-10-20 12:40 ` [PATCH v3] OMAP3: DSS: Kconfig changes to enable display options Roger Quadros
2010-10-20 12:52 ` Tomi Valkeinen [this message]
2010-10-20 13:16   ` [PATCH v3] OMAP3: DSS: Kconfig changes to enable display Hiremath, Vaibhav
2010-10-22  7:59     ` Nilofer, Samreen
2010-10-22  8:15     ` Nilofer, Samreen

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=1287579146.2142.11.camel@tubuntu \
    --to=tomi.valkeinen@nokia.com \
    --cc=hvaibhav@ti.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 \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).