[Gta04-owner] Linux 3.2-rc2 on GTA04

Johannes Schauer j.schauer at email.de
Sat Nov 26 12:45:04 CET 2011


Hi,

On Sat, Nov 26, 2011 at 01:31:55PM +1100, NeilBrown wrote:
> So this patch might fix it.
> 
> diff --git a/drivers/video/omap2/displays/panel-tpo-td028ttec1.c b/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
> index bbbf1c3..224a9ff 100644
> --- a/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
> +++ b/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
> @@ -379,6 +379,9 @@ static int td028ttec1_panel_resume(struct omap_dss_device *dssdev)
>  		return -EIO;
>  
>  	// turn on backlight
> +	if (dssdev->platform_enable)
> +		dssdev->platform_enable(dssdev);
> +
>  	dssdev->state = OMAP_DSS_DISPLAY_ACTIVE;
>  	
>  	return rc ? -EIO : 0;
> 
> 
> Please let me know if it helps.

it works! the screen now turns on properly :D

> Having looked at the code, I suggest trying without and mode setting argument
> at all.
> 
> Both the omapfb.mode= and video= setting look up the requested mode in the
> "modedb" - a data base of common modes.  This does not contain 480x640.
> The smallest mode that fits 480x640 is presumably 1024x768 which is why you
> get that.

perfect!! everything is fine now!

excellent! :D

`git diff` now looks the following for me:

diff --git a/arch/arm/configs/gta04a3_defconfig b/arch/arm/configs/gta04a3_defconfig
index b782601..7b277bc 100644
--- a/arch/arm/configs/gta04a3_defconfig
+++ b/arch/arm/configs/gta04a3_defconfig
@@ -429,7 +429,7 @@ CONFIG_USE_OF=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
 # CONFIG_ARM_APPENDED_DTB is not set
-CONFIG_CMDLINE="console=ttyO2,115200n8 mpurate=800 vram=12M omapfb.mode=lcd:640x480 omapfb.rotate_type=0 omapdss.def_disp=lcd root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait twl4030_charger.al
low_usb=1 log_buf_len=8M ignore_loglevel"
+CONFIG_CMDLINE="console=ttyO2,115200n8 mpurate=800 vram=12M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait twl4030_charger.allow_usb=1 log_buf_len=8M ignore_loglevel"
 # CONFIG_CMDLINE_FROM_BOOTLOADER is not set
 # CONFIG_CMDLINE_EXTEND is not set
 CONFIG_CMDLINE_FORCE=y
@@ -2485,7 +2485,7 @@ CONFIG_DEBUG_STACK_USAGE=y
 # CONFIG_DEBUG_KOBJECT is not set
 CONFIG_DEBUG_BUGVERBOSE=y
 CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_INFO_REDUCED=y
+# CONFIG_DEBUG_INFO_REDUCED is not set
 CONFIG_DEBUG_VM=y
 CONFIG_DEBUG_WRITECOUNT=y
 CONFIG_DEBUG_MEMORY_INIT=y
diff --git a/drivers/video/omap2/displays/panel-tpo-td028ttec1.c b/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
index bbbf1c3..462eff0 100644
--- a/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
+++ b/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
@@ -379,6 +379,8 @@ static int td028ttec1_panel_resume(struct omap_dss_device *dssdev)
 		return -EIO;
 
 	// turn on backlight
+	if (dssdev->platform_enable)
+		dssdev->platform_enable(dssdev);
 	dssdev->state = OMAP_DSS_DISPLAY_ACTIVE;
 	
 	return rc ? -EIO : 0;


thank you so much ^^

cheers, josch


More information about the Gta04-owner mailing list