OMAP3: DSS: Kconfig changes to enable display options on OMAP3
PATCH v3 1/1 OMAP3: DSS: Kconfig changes to enable display options on OMAP3
The defconfig options for display are taken in the respective Kconfig to enable display by default on OMAP3 platforms
---
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(-)
drivers/video/omap2/displays/Kconfig +3 -0
@@ -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.
drivers/video/omap2/dss/Kconfig +4 -2
@@ -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 help This can be used to adjust the minimum FCK/PCK ratio.
drivers/video/omap2/omapfb/Kconfig +1 -0
@@ -1,6 +1,7 @@ menuconfig FB_OMAP2 tristate "OMAP2/3 frame buffer support (EXPERIMENTAL)" depends on FB && OMAP2_DSS + default y select OMAP2_VRAM select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3
Signature · 1 line
1.5.6.3
Re: [PATCH v3] OMAP3: DSS: Kconfig changes to enable display options
Hi,
Quoted 23 lines · ext Samreen
The defconfig options for display are taken in the respective
Kconfigto enable display by default on OMAP3 platformsSigned-off-by Samreen<[email protected]>---
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 patchdrivers/video/omap2/displays/Kconfig | 3 +++ drivers/video/omap2/dss/Kconfig | 6 ++++-- drivers/video/omap2/omapfb/Kconfig | 1 + 3 files changed, 8 insertions(+), 2 deletions(-)drivers/video/omap2/displays/Kconfig +0
-0
drivers/video/omap2/displays/Kconfig menu "OMAP2/3 Display Device Drivers" · line 6
Quoted 4 lines
drivers/video/omap2/displays/Kconfig +1
-0@@ -3,6 +3,7 @@ menu "OMAP2/3 Display Device Drivers" config PANEL_GENERIC tristate "Generic Panel" + default y
I fail to understand why all displays should be enabled by default? Care to explain please?
Signature · 2 lines
regards, -roger
Re: [PATCH v3] OMAP3: DSS: Kconfig changes to enable display
In reply to SamreenHi,
Quoted 39 lines · ext Samreen
The defconfig options for display are taken in the respective
Kconfigto enable display by default on OMAP3 platformsSigned-off-by Samreen <[email protected]>---
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 patchdrivers/video/omap2/displays/Kconfig | 3 +++ drivers/video/omap2/dss/Kconfig | 6 ++++-- drivers/video/omap2/omapfb/Kconfig | 1 + 3 files changed, 8 insertions(+), 2 deletions(-)drivers/video/omap2/displays/Kconfig +2
-0@@ -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
drivers/video/omap2/displays/Kconfig config PANEL_SHARP_LQ043T1DG01 · line 31
Quoted 7 lines
drivers/video/omap2/displays/Kconfig +1
-0@@ -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...
Quoted 22 lines
drivers/video/omap2/dss/Kconfig +2
-1@@ -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
drivers/video/omap2/dss/Kconfig config OMAP2_DSS_FAKE_VSYNC · line 107
Quoted 6 lines
drivers/video/omap2/dss/Kconfig +2
-1@@ -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
RE: [PATCH v3] OMAP3: DSS: Kconfig changes to enable display
Quoted 65 lines
-----Original Message-----
From: Tomi Valkeinen [mailto:[email protected]]
Sent: Wednesday, October 20, 2010 6:22 PM
To: Nilofer, Samreen
Cc: Grazvydas Ignotas; Hiremath, Vaibhav; Quadros Roger (Nokia- MS/Helsinki); Guruswamy, Senthilvadivu; [email protected]; linux- [email protected]
Subject: Re: [PATCH v3] OMAP3: DSS:Kconfigchanges to enable display options on OMAP3Hi,
Quoted 13 lines · ext Samreen
The defconfig options for display are taken in the respective
Kconfigto enable display by default on OMAP3 platformsSigned-off-by Samreen <[email protected]>---
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 patchReview
Quoted 6 lines
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(-)(quoted diff) +0
-0b/drivers/video/omap2/displays/Kconfig
Quoted 20 lines
index f8152cf..d818e44 100644
drivers/video/omap2/displays/Kconfig +2
-0@@ -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 boardsdrivers/video/omap2/displays/Kconfig config PANEL_SHARP_LQ043T1DG01 · line 31
Quoted 7 lines
drivers/video/omap2/displays/Kconfig +1
-0@@ -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.
Quoted 8 lines
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...
[Hiremath, Vaibhav] I agree with Tomi here.
Thanks,
Vaibhav
Quoted 34 lines
Review
Quoted 1 line
(quoted diff) +0
-0b/drivers/video/omap2/dss/Kconfig
Quoted 21 lines
index 43b6440..f3244a2 100644
drivers/video/omap2/dss/Kconfig +2
-1@@ -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 needdrivers/video/omap2/dss/Kconfig config OMAP2_DSS_FAKE_VSYNC · line 107
Quoted 6 lines
drivers/video/omap2/dss/Kconfig +2
-1@@ -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_OMAP4Why is the ratio set to 4 on all OMAP2/3 boards?
Tomi
RE: [PATCH v3] OMAP3: DSS: Kconfig changes to enable display
Hi,
Quoted 72 lines · Vaibhav
Quoted 63 lines
-----Original Message-----
From: Tomi Valkeinen [mailto:[email protected]]
Sent: Wednesday, October 20, 2010 6:22 PM
To: Nilofer, Samreen
Cc: Grazvydas Ignotas; Hiremath, Vaibhav; Quadros Roger (Nokia- MS/Helsinki); Guruswamy, Senthilvadivu; [email protected]; linux- [email protected] Subject: Re: [PATCH v3] OMAP3: DSS:Kconfigchanges to enable display options on OMAP3Hi,
Quoted 14 lines · ext Samreen
The defconfig options for display are taken in the respective
Kconfigto enable display by default on OMAP3 platformsSigned-off-by Samreen <[email protected]>---
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 patchReview
Quoted 6 lines
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(-)(quoted diff) +0
-0b/drivers/video/omap2/displays/Kconfig
Quoted 21 lines
index f8152cf..d818e44 100644
drivers/video/omap2/displays/Kconfig +1
-0@@ -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 onOMAP2_DSSdrivers/video/omap2/displays/Kconfig +2
-0+ 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_01Bdrivers/video/omap2/displays/Kconfig config PANEL_SHARP_LQ043T1DG01 · line 31
Quoted 6 lines
drivers/video/omap2/displays/Kconfig +1
-0tristate "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.
Quoted 8 lines
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...
Quoted 4 lines
[Hiremath, Vaibhav] I agree with Tomi here.
Thanks,
Vaibhav
[Samreen]
Tomi,
I have sent a separate patch "OMAP: DSS2: Add NEC NL8048HL11-01B display panel" that
adds the nec panel to L-O mailing list. On top of which I have sent these patches. I am using the LO-dss2 tree to verify my patches.
Tomi/Vaibav,
As keeping the panel disable by default is a better idea, I will rework my patches
accordingly.
Quoted 32 lines
Quoted 32 lines
Review
Quoted 2 lines
(quoted diff) +0
-0b/drivers/video/omap2/dss/Kconfig
Quoted 16 lines
index 43b6440..f3244a2 100644
drivers/video/omap2/dss/Kconfig +1
-1@@ -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 0drivers/video/omap2/dss/Kconfig if OMAP2_DSS
Quoted 10 lines
drivers/video/omap2/dss/Kconfig +3
-2+ 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_OMAP4Why is the ratio set to 4 on all OMAP2/3 boards?
Quoted 1 line
Quoted 1 line
Tomi
[Samreen]
With the ratio as 4, a downscaling of 1/4 & 1/8 is achieved with RGB & Yuv formats.
This is would be optimal value to achieve both upscaling and downscale together.
RE: [PATCH v3] OMAP3: DSS: Kconfig changes to enable display
In reply to Hiremath, VaibhavQuoted 77 lines · Samreen
Hi,
Quoted 74 lines · Vaibhav
Quoted 63 lines
-----Original Message-----
From: Tomi Valkeinen [mailto:[email protected]]
Sent: Wednesday, October 20, 2010 6:22 PM
To: Nilofer, Samreen
Cc: Grazvydas Ignotas; Hiremath, Vaibhav; Quadros Roger (Nokia- MS/Helsinki); Guruswamy, Senthilvadivu; [email protected]; linux- [email protected] Subject: Re: [PATCH v3] OMAP3: DSS:Kconfigchanges to enable display options on OMAP3Hi,
Quoted 14 lines · ext Samreen
The defconfig options for display are taken in the respective
Kconfigto enable display by default on OMAP3 platformsSigned-off-by Samreen <[email protected]>---
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 patchReview
Quoted 6 lines
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(-)(quoted diff) +0
-0b/drivers/video/omap2/displays/Kconfig
Quoted 21 lines
index f8152cf..d818e44 100644
drivers/video/omap2/displays/Kconfig +1
-0@@ -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 onOMAP2_DSSdrivers/video/omap2/displays/Kconfig +2
-0+ 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_01Bdrivers/video/omap2/displays/Kconfig config PANEL_SHARP_LQ043T1DG01 · line 31
Quoted 6 lines
drivers/video/omap2/displays/Kconfig +1
-0tristate "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.
Quoted 8 lines
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...
[Hiremath, Vaibhav] I agree with Tomi here.
Quoted 8 lines
Quoted 2 lines
Thanks,
Vaibhav[Samreen]
Tomi,
I have sent a separate patch "OMAP: DSS2: Add NEC
NL8048HL11-01B display panel" that adds the nec panel to L-O mailing list. On top of which I have sent these patches. I am using the LO-dss2 tree to verify my patches.
[Samreen]
With the patch link for reference:
http://marc.info/?t=128766436100002&r=1&w=2
Warm Regards,
Samreen
Quoted 41 lines
Tomi/Vaibav,
As keeping the panel disable by default is a better
idea, I will rework my patches accordingly.Quoted 31 lines
Quoted 31 lines
Review
Quoted 2 lines
(quoted diff) +0
-0b/drivers/video/omap2/dss/Kconfig
Quoted 23 lines
index 43b6440..f3244a2 100644
drivers/video/omap2/dss/Kconfig +2
-2@@ -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
drivers/video/omap2/dss/Kconfig config OMAP2_DSS_FAKE_VSYNC · line 107
Quoted 2 lines
drivers/video/omap2/dss/Kconfig +2
-0+ default 4 if ARCH_OMAP2 || ARCH_OMAP3 + default 0 if ARCH_OMAP4Why is the ratio set to 4 on all OMAP2/3 boards?
Quoted 1 line
Quoted 1 line
Tomi
[Samreen]
With the ratio as 4, a downscaling of 1/4 & 1/8 is
achieved with RGB & Yuv formats.
This is would be optimal value to achieve both upscaling and downscale together.