summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Tunnissen <Marcel.Tuennissen@stericsson.com>2011-03-21 11:03:50 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:03:51 +0200
commit95524834c6af9a133838c41d081df4fae4f6836e (patch)
tree2436b192bffc1b5889607d0b5517632746be1d97 /include
parent3d8e26d6b3f1eeade0899d3567298f21bb91bdbf (diff)
video: mcde: remove special interlaced porches
This removes the split of back and front porches that were introduced for the SDTV formats. These aren't really needed, since they can be derived from the total amount per frame by rounding constistently. This commit is not backwards source code compatible; it has consequences for other display drivers, e.g. DPI display drivers. These changes are trivial though: the fields v[fb]p should be used instead of v[fb]p[12], where vxp = vxp1 + vxp2 (with x = {b, f}) ST-Ericsson ID: 329917 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Icb1cee4bcc44e29de53f36966bc6d8faa396b1ba Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18744 Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/mcde.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/video/mcde.h b/include/video/mcde.h
index a9976352009..5142640a6de 100644
--- a/include/video/mcde.h
+++ b/include/video/mcde.h
@@ -253,17 +253,15 @@ enum mcde_display_rotation {
#define DSI_CMD_MODE 1
/* Video mode descriptor */
-struct mcde_video_mode {/* REVIEW: Join 1 & 2 */
+struct mcde_video_mode {
u32 xres;
u32 yres;
u32 pixclock; /* pixel clock in ps (pico seconds) */
- u32 hbp; /* hor back porch = left_margin */
- u32 hfp; /* hor front porch equals to right_margin */
+ u32 hbp; /* horizontal back porch: left margin (excl. hsync) */
+ u32 hfp; /* horizontal front porch: right margin (excl. hsync) */
u32 hsw; /* horizontal sync width */
- u32 vbp1; /* field 1: vert back porch equals to upper_margin */
- u32 vfp1; /* field 1: vert front porch equals to lower_margin */
- u32 vbp2; /* field 2: vert back porch equals to upper_margin */
- u32 vfp2; /* field 2: vert front porch equals to lower_margin */
+ u32 vbp; /* vertical back porch: upper margin (excl. vsync) */
+ u32 vfp; /* vertical front porch: lower margin (excl. vsync) */
u32 vsw; /* vertical sync width*/
bool interlaced;
bool force_update; /* when switching between hdmi and sdtv */