summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorMarcel Tunnissen <Marcel.Tuennissen@stericsson.com>2011-03-21 11:03:50 +0100
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 15:15:05 +0200
commit917a93d04e874ab78895c3647c896625971c9277 (patch)
treeb414a6c458dcd7e604beca954f71ddadefacaa98 /include/video
parentcac597ec85cc3a7d2e8d8e9bfd5b7b9bd2c22537 (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/video')
-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 */