Skip to contentSkip to conversation

OMAP_VOUT: Fix build break caused by update_mode removal in DSS2

PATCH In review Archit Taneja 3 participants 3 messages Aug 5, 2011 – Aug 11, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP_VOUT: Fix build break caused by update_mode removal in DSS2

The DSS2 driver does not support the configuration of the update_mode of a panel anymore. Remove the setting of update_mode done in omap_vout_probe(). Ignore configuration of TE since omap_vout driver doesn't support manual update displays anyway.

---
 drivers/media/video/omap/omap_vout.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
drivers/media/video/omap/omap_vout.c +0 -13
index b5ef362..b3a5ecd 100644
@@ -2194,19 +2194,6 @@ static int __init omap_vout_probe(struct platform_device *pdev)
 					"'%s' Display already enabled\n",
 					def_display->name);
 			}
-			/* set the update mode */
-			if (def_display->caps &
-					OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
-				if (dssdrv->enable_te)
-					dssdrv->enable_te(def_display, 0);
-				if (dssdrv->set_update_mode)
-					dssdrv->set_update_mode(def_display,
-							OMAP_DSS_UPDATE_MANUAL);
-			} else {
-				if (dssdrv->set_update_mode)
-					dssdrv->set_update_mode(def_display,
-							OMAP_DSS_UPDATE_AUTO);
-			}
 		}
 	}
 
Signature · 1 line
1.7.1
Tested-by on v1 1/1
#1 lore raw

Op 5 aug 2011, om 09:19 heeft Archit Taneja het volgende geschreven:

Quoted 6 lines

The DSS2 driver does not support the configuration of the update_mode of a panel anymore. Remove the setting of update_mode done in omap_vout_probe(). Ignore configuration of TE since omap_vout driver doesn't support manual update displays anyway.

Quoted 32 lines

---
drivers/media/video/omap/omap_vout.c | 13 -------------

1 files changed, 0 insertions(+), 13 deletions(-)
drivers/media/video/omap/omap_vout.c +0 -13
index b5ef362..b3a5ecd 100644
@@ -2194,19 +2194,6 @@ static int __init omap_vout_probe(struct  
 platform_device *pdev)
 					"'%s' Display already enabled\n",
 					def_display->name);
 			}
-			/* set the update mode */
-			if (def_display->caps &
-					OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
-				if (dssdrv->enable_te)
-					dssdrv->enable_te(def_display, 0);
-				if (dssdrv->set_update_mode)
-					dssdrv->set_update_mode(def_display,
-							OMAP_DSS_UPDATE_MANUAL);
-			} else {
-				if (dssdrv->set_update_mode)
-					dssdrv->set_update_mode(def_display,
-							OMAP_DSS_UPDATE_AUTO);
-			}
 		}
 	}
Signature · 2 lines
-- 
1.7.1
Acked-by Tested-by on v1 1/1
#2 lore raw
In reply to Archit Taneja
Quoted 16 lines

-----Original Message-----
From: Taneja, Archit
Sent: Friday, August 05, 2011 12:49 PM
To: Hiremath, Vaibhav; [email protected]
Cc: [email protected]; Valkeinen, Tomi; linux- [email protected]; Taneja, Archit
Subject: [PATCH] [media] OMAP_VOUT: Fix build break caused by update_mode removal in DSS2

The DSS2 driver does not support the configuration of the update_mode of a panel anymore. Remove the setting of update_mode done in omap_vout_probe(). Ignore configuration of TE since omap_vout driver doesn't support manual update
displays anyway.

Quoted 5 lines
---
 drivers/media/video/omap/omap_vout.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

[Hiremath, Vaibhav]

Since this is bug fix (results in build failure), I will queue up for next rc.

Thanks,
Vaibhav

Quoted 28 lines
drivers/media/video/omap/omap_vout.c +0 -14
index b5ef362..b3a5ecd 100644
@@ -2194,19 +2194,6 @@ static int __init omap_vout_probe(struct
 platform_device *pdev)
 					"'%s' Display already enabled\n",
 					def_display->name);
 			}
-			/* set the update mode */
-			if (def_display->caps &
-					OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
-				if (dssdrv->enable_te)
-					dssdrv->enable_te(def_display, 0);
-				if (dssdrv->set_update_mode)
-					dssdrv->set_update_mode(def_display,
-							OMAP_DSS_UPDATE_MANUAL);
-			} else {
-				if (dssdrv->set_update_mode)
-					dssdrv->set_update_mode(def_display,
-							OMAP_DSS_UPDATE_AUTO);
-			}
 		}
 	}
 
--

1.7.1