diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/connector-dvi.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dispc.c | 18 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/display.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dsi.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/omapdss.h | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/rfbi.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/sdi.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/venc.c | 10 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_connector.c | 5 |
16 files changed, 35 insertions, 54 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/connector-dvi.c b/drivers/gpu/drm/omapdrm/displays/connector-dvi.c index 6f130862db8a..53967a4a96a7 100644 --- a/drivers/gpu/drm/omapdrm/displays/connector-dvi.c +++ b/drivers/gpu/drm/omapdrm/displays/connector-dvi.c | |||
@@ -33,10 +33,9 @@ static const struct omap_video_timings dvic_default_timings = { | |||
33 | .vsync_len = 4, | 33 | .vsync_len = 4, |
34 | .vback_porch = 7, | 34 | .vback_porch = 7, |
35 | 35 | ||
36 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE, | ||
37 | |||
38 | .flags = DISPLAY_FLAGS_HSYNC_HIGH | DISPLAY_FLAGS_VSYNC_HIGH | | 36 | .flags = DISPLAY_FLAGS_HSYNC_HIGH | DISPLAY_FLAGS_VSYNC_HIGH | |
39 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE, | 37 | DISPLAY_FLAGS_SYNC_NEGEDGE | DISPLAY_FLAGS_DE_HIGH | |
38 | DISPLAY_FLAGS_PIXDATA_POSEDGE, | ||
40 | }; | 39 | }; |
41 | 40 | ||
42 | struct panel_drv_data { | 41 | struct panel_drv_data { |
diff --git a/drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c b/drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c index eec079e017f0..69b4feab964c 100644 --- a/drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c +++ b/drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c | |||
@@ -115,8 +115,9 @@ static void tfp410_disable(struct omap_dss_device *dssdev) | |||
115 | 115 | ||
116 | static void tfp410_fix_timings(struct omap_video_timings *timings) | 116 | static void tfp410_fix_timings(struct omap_video_timings *timings) |
117 | { | 117 | { |
118 | timings->sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE; | 118 | timings->flags |= DISPLAY_FLAGS_DE_HIGH | |
119 | timings->flags |= DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE; | 119 | DISPLAY_FLAGS_PIXDATA_POSEDGE | |
120 | DISPLAY_FLAGS_SYNC_POSEDGE; | ||
120 | } | 121 | } |
121 | 122 | ||
122 | static void tfp410_set_timings(struct omap_dss_device *dssdev, | 123 | static void tfp410_set_timings(struct omap_dss_device *dssdev, |
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c b/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c index 33cdc107ed21..4328d6781228 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c | |||
@@ -33,10 +33,9 @@ static struct omap_video_timings lb035q02_timings = { | |||
33 | .vfront_porch = 4, | 33 | .vfront_porch = 4, |
34 | .vback_porch = 18, | 34 | .vback_porch = 18, |
35 | 35 | ||
36 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE, | ||
37 | |||
38 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | | 36 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | |
39 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE, | 37 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_SYNC_NEGEDGE | |
38 | DISPLAY_FLAGS_PIXDATA_POSEDGE, | ||
40 | }; | 39 | }; |
41 | 40 | ||
42 | struct panel_drv_data { | 41 | struct panel_drv_data { |
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c b/drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c index 64f6f42dbe92..58f39f588c62 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c | |||
@@ -76,10 +76,9 @@ static const struct omap_video_timings nec_8048_panel_timings = { | |||
76 | .vsync_len = 1, | 76 | .vsync_len = 1, |
77 | .vback_porch = 4, | 77 | .vback_porch = 4, |
78 | 78 | ||
79 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE, | ||
80 | |||
81 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | | 79 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | |
82 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE, | 80 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_SYNC_POSEDGE | |
81 | DISPLAY_FLAGS_PIXDATA_POSEDGE, | ||
83 | }; | 82 | }; |
84 | 83 | ||
85 | #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev) | 84 | #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev) |
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c b/drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c index fb7e032209bd..d41ba3152859 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c | |||
@@ -49,10 +49,9 @@ static const struct omap_video_timings sharp_ls_timings = { | |||
49 | .vfront_porch = 1, | 49 | .vfront_porch = 1, |
50 | .vback_porch = 1, | 50 | .vback_porch = 1, |
51 | 51 | ||
52 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE, | ||
53 | |||
54 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | | 52 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | |
55 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE, | 53 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_SYNC_NEGEDGE | |
54 | DISPLAY_FLAGS_PIXDATA_POSEDGE, | ||
56 | }; | 55 | }; |
57 | 56 | ||
58 | #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev) | 57 | #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev) |
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c index 599908958066..1e0980635113 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c | |||
@@ -103,10 +103,9 @@ static const struct omap_video_timings acx565akm_panel_timings = { | |||
103 | .vsync_len = 3, | 103 | .vsync_len = 3, |
104 | .vback_porch = 4, | 104 | .vback_porch = 4, |
105 | 105 | ||
106 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE, | ||
107 | |||
108 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | | 106 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | |
109 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE, | 107 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_SYNC_NEGEDGE | |
108 | DISPLAY_FLAGS_PIXDATA_POSEDGE, | ||
110 | }; | 109 | }; |
111 | 110 | ||
112 | #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev) | 111 | #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev) |
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c index 717b4577ac49..9711ec469f39 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | |||
@@ -53,10 +53,9 @@ static struct omap_video_timings td028ttec1_panel_timings = { | |||
53 | .vsync_len = 2, | 53 | .vsync_len = 2, |
54 | .vback_porch = 2, | 54 | .vback_porch = 2, |
55 | 55 | ||
56 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE, | ||
57 | |||
58 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | | 56 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | |
59 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_NEGEDGE, | 57 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_SYNC_POSEDGE | |
58 | DISPLAY_FLAGS_PIXDATA_NEGEDGE, | ||
60 | }; | 59 | }; |
61 | 60 | ||
62 | #define JBT_COMMAND 0x000 | 61 | #define JBT_COMMAND 0x000 |
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c index 71fa7aabd062..3f701686f992 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c | |||
@@ -86,10 +86,9 @@ static const struct omap_video_timings tpo_td043_timings = { | |||
86 | .vfront_porch = 39, | 86 | .vfront_porch = 39, |
87 | .vback_porch = 34, | 87 | .vback_porch = 34, |
88 | 88 | ||
89 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE, | ||
90 | |||
91 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | | 89 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | |
92 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_NEGEDGE, | 90 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_SYNC_POSEDGE | |
91 | DISPLAY_FLAGS_PIXDATA_NEGEDGE, | ||
93 | }; | 92 | }; |
94 | 93 | ||
95 | #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev) | 94 | #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev) |
diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c index 6b017e1f9245..83b7a7a2a9e7 100644 --- a/drivers/gpu/drm/omapdrm/dss/dispc.c +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c | |||
@@ -3180,16 +3180,10 @@ static void _dispc_mgr_set_lcd_timings(enum omap_channel channel, | |||
3180 | /* always use the 'rf' setting */ | 3180 | /* always use the 'rf' setting */ |
3181 | onoff = true; | 3181 | onoff = true; |
3182 | 3182 | ||
3183 | switch (ovt->sync_pclk_edge) { | 3183 | if (ovt->flags & DISPLAY_FLAGS_SYNC_POSEDGE) |
3184 | case OMAPDSS_DRIVE_SIG_FALLING_EDGE: | ||
3185 | rf = false; | ||
3186 | break; | ||
3187 | case OMAPDSS_DRIVE_SIG_RISING_EDGE: | ||
3188 | rf = true; | 3184 | rf = true; |
3189 | break; | 3185 | else |
3190 | default: | 3186 | rf = false; |
3191 | BUG(); | ||
3192 | } | ||
3193 | 3187 | ||
3194 | l = FLD_VAL(onoff, 17, 17) | | 3188 | l = FLD_VAL(onoff, 17, 17) | |
3195 | FLD_VAL(rf, 16, 16) | | 3189 | FLD_VAL(rf, 16, 16) | |
@@ -3257,7 +3251,7 @@ void dispc_mgr_set_timings(enum omap_channel channel, | |||
3257 | !!(t.flags & DISPLAY_FLAGS_HSYNC_HIGH), | 3251 | !!(t.flags & DISPLAY_FLAGS_HSYNC_HIGH), |
3258 | !!(t.flags & DISPLAY_FLAGS_PIXDATA_POSEDGE), | 3252 | !!(t.flags & DISPLAY_FLAGS_PIXDATA_POSEDGE), |
3259 | !!(t.flags & DISPLAY_FLAGS_DE_HIGH), | 3253 | !!(t.flags & DISPLAY_FLAGS_DE_HIGH), |
3260 | t.sync_pclk_edge); | 3254 | !!(t.flags & DISPLAY_FLAGS_SYNC_POSEDGE)); |
3261 | 3255 | ||
3262 | DSSDBG("hsync %luHz, vsync %luHz\n", ht, vt); | 3256 | DSSDBG("hsync %luHz, vsync %luHz\n", ht, vt); |
3263 | } else { | 3257 | } else { |
@@ -4200,10 +4194,10 @@ static const struct dispc_errata_i734_data { | |||
4200 | .pixelclock = 16000000, | 4194 | .pixelclock = 16000000, |
4201 | .hsync_len = 8, .hfront_porch = 4, .hback_porch = 4, | 4195 | .hsync_len = 8, .hfront_porch = 4, .hback_porch = 4, |
4202 | .vsync_len = 1, .vfront_porch = 1, .vback_porch = 1, | 4196 | .vsync_len = 1, .vfront_porch = 1, .vback_porch = 1, |
4203 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE, | ||
4204 | 4197 | ||
4205 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | | 4198 | .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | |
4206 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE, | 4199 | DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_SYNC_POSEDGE | |
4200 | DISPLAY_FLAGS_PIXDATA_POSEDGE, | ||
4207 | }, | 4201 | }, |
4208 | .ovli = { | 4202 | .ovli = { |
4209 | .screen_width = 1, | 4203 | .screen_width = 1, |
diff --git a/drivers/gpu/drm/omapdrm/dss/display.c b/drivers/gpu/drm/omapdrm/dss/display.c index 1cd503cc95fe..1e19a2c00f8f 100644 --- a/drivers/gpu/drm/omapdrm/dss/display.c +++ b/drivers/gpu/drm/omapdrm/dss/display.c | |||
@@ -233,10 +233,6 @@ void videomode_to_omap_video_timings(const struct videomode *vm, | |||
233 | ovt->vfront_porch = vm->vfront_porch; | 233 | ovt->vfront_porch = vm->vfront_porch; |
234 | ovt->vsync_len = vm->vsync_len; | 234 | ovt->vsync_len = vm->vsync_len; |
235 | ovt->flags = vm->flags; | 235 | ovt->flags = vm->flags; |
236 | |||
237 | ovt->sync_pclk_edge = ovt->flags & DISPLAY_FLAGS_PIXDATA_POSEDGE ? | ||
238 | OMAPDSS_DRIVE_SIG_RISING_EDGE : | ||
239 | OMAPDSS_DRIVE_SIG_FALLING_EDGE; | ||
240 | } | 236 | } |
241 | EXPORT_SYMBOL(videomode_to_omap_video_timings); | 237 | EXPORT_SYMBOL(videomode_to_omap_video_timings); |
242 | 238 | ||
diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c index ba3a2da7c80d..1dec7dd38029 100644 --- a/drivers/gpu/drm/omapdrm/dss/dsi.c +++ b/drivers/gpu/drm/omapdrm/dss/dsi.c | |||
@@ -4131,7 +4131,8 @@ static int dsi_display_init_dispc(struct platform_device *dsidev, | |||
4131 | dsi->timings.flags |= DISPLAY_FLAGS_PIXDATA_POSEDGE; | 4131 | dsi->timings.flags |= DISPLAY_FLAGS_PIXDATA_POSEDGE; |
4132 | dsi->timings.flags &= ~DISPLAY_FLAGS_DE_LOW; | 4132 | dsi->timings.flags &= ~DISPLAY_FLAGS_DE_LOW; |
4133 | dsi->timings.flags |= DISPLAY_FLAGS_DE_HIGH; | 4133 | dsi->timings.flags |= DISPLAY_FLAGS_DE_HIGH; |
4134 | dsi->timings.sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE; | 4134 | dsi->timings.flags &= ~DISPLAY_FLAGS_SYNC_POSEDGE; |
4135 | dsi->timings.flags |= DISPLAY_FLAGS_SYNC_NEGEDGE; | ||
4135 | 4136 | ||
4136 | dss_mgr_set_timings(channel, &dsi->timings); | 4137 | dss_mgr_set_timings(channel, &dsi->timings); |
4137 | 4138 | ||
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index 1bc186110106..84d34242d5a4 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h | |||
@@ -319,9 +319,6 @@ struct omap_video_timings { | |||
319 | /* Unit: line clocks */ | 319 | /* Unit: line clocks */ |
320 | u16 vback_porch; /* Vertical back porch */ | 320 | u16 vback_porch; /* Vertical back porch */ |
321 | 321 | ||
322 | /* Pixel clock edges to drive HSYNC and VSYNC signals */ | ||
323 | enum omap_dss_signal_edge sync_pclk_edge; | ||
324 | |||
325 | enum display_flags flags; | 322 | enum display_flags flags; |
326 | }; | 323 | }; |
327 | 324 | ||
diff --git a/drivers/gpu/drm/omapdrm/dss/rfbi.c b/drivers/gpu/drm/omapdrm/dss/rfbi.c index 7a9598e93bc9..ce431817e781 100644 --- a/drivers/gpu/drm/omapdrm/dss/rfbi.c +++ b/drivers/gpu/drm/omapdrm/dss/rfbi.c | |||
@@ -874,7 +874,8 @@ static void rfbi_config_lcd_manager(struct omap_dss_device *dssdev) | |||
874 | rfbi.timings.flags |= DISPLAY_FLAGS_PIXDATA_POSEDGE; | 874 | rfbi.timings.flags |= DISPLAY_FLAGS_PIXDATA_POSEDGE; |
875 | rfbi.timings.flags &= ~DISPLAY_FLAGS_DE_LOW; | 875 | rfbi.timings.flags &= ~DISPLAY_FLAGS_DE_LOW; |
876 | rfbi.timings.flags |= DISPLAY_FLAGS_DE_HIGH; | 876 | rfbi.timings.flags |= DISPLAY_FLAGS_DE_HIGH; |
877 | rfbi.timings.sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE; | 877 | rfbi.timings.flags &= ~DISPLAY_FLAGS_SYNC_POSEDGE; |
878 | rfbi.timings.flags |= DISPLAY_FLAGS_SYNC_NEGEDGE; | ||
878 | 879 | ||
879 | dss_mgr_set_timings(mgr, &rfbi.timings); | 880 | dss_mgr_set_timings(mgr, &rfbi.timings); |
880 | } | 881 | } |
diff --git a/drivers/gpu/drm/omapdrm/dss/sdi.c b/drivers/gpu/drm/omapdrm/dss/sdi.c index a886f9051b33..3b076329a3ac 100644 --- a/drivers/gpu/drm/omapdrm/dss/sdi.c +++ b/drivers/gpu/drm/omapdrm/dss/sdi.c | |||
@@ -151,8 +151,7 @@ static int sdi_display_enable(struct omap_dss_device *dssdev) | |||
151 | goto err_get_dispc; | 151 | goto err_get_dispc; |
152 | 152 | ||
153 | /* 15.5.9.1.2 */ | 153 | /* 15.5.9.1.2 */ |
154 | t->flags |= DISPLAY_FLAGS_PIXDATA_POSEDGE; | 154 | t->flags |= DISPLAY_FLAGS_PIXDATA_POSEDGE | DISPLAY_FLAGS_SYNC_POSEDGE; |
155 | t->sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE; | ||
156 | 155 | ||
157 | r = sdi_calc_clock_div(t->pixelclock, &fck, &dispc_cinfo); | 156 | r = sdi_calc_clock_div(t->pixelclock, &fck, &dispc_cinfo); |
158 | if (r) | 157 | if (r) |
diff --git a/drivers/gpu/drm/omapdrm/dss/venc.c b/drivers/gpu/drm/omapdrm/dss/venc.c index 82d0cda9a499..43f98547e9fc 100644 --- a/drivers/gpu/drm/omapdrm/dss/venc.c +++ b/drivers/gpu/drm/omapdrm/dss/venc.c | |||
@@ -273,11 +273,10 @@ const struct omap_video_timings omap_dss_pal_timings = { | |||
273 | .vfront_porch = 5, | 273 | .vfront_porch = 5, |
274 | .vback_porch = 41, | 274 | .vback_porch = 41, |
275 | 275 | ||
276 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE, | ||
277 | |||
278 | .flags = DISPLAY_FLAGS_INTERLACED | DISPLAY_FLAGS_HSYNC_LOW | | 276 | .flags = DISPLAY_FLAGS_INTERLACED | DISPLAY_FLAGS_HSYNC_LOW | |
279 | DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_DE_HIGH | | 277 | DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_DE_HIGH | |
280 | DISPLAY_FLAGS_PIXDATA_POSEDGE, | 278 | DISPLAY_FLAGS_PIXDATA_POSEDGE | |
279 | DISPLAY_FLAGS_SYNC_NEGEDGE, | ||
281 | }; | 280 | }; |
282 | EXPORT_SYMBOL(omap_dss_pal_timings); | 281 | EXPORT_SYMBOL(omap_dss_pal_timings); |
283 | 282 | ||
@@ -292,11 +291,10 @@ const struct omap_video_timings omap_dss_ntsc_timings = { | |||
292 | .vfront_porch = 6, | 291 | .vfront_porch = 6, |
293 | .vback_porch = 31, | 292 | .vback_porch = 31, |
294 | 293 | ||
295 | .sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE, | ||
296 | |||
297 | .flags = DISPLAY_FLAGS_INTERLACED | DISPLAY_FLAGS_HSYNC_LOW | | 294 | .flags = DISPLAY_FLAGS_INTERLACED | DISPLAY_FLAGS_HSYNC_LOW | |
298 | DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_DE_HIGH | | 295 | DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_DE_HIGH | |
299 | DISPLAY_FLAGS_PIXDATA_POSEDGE, | 296 | DISPLAY_FLAGS_PIXDATA_POSEDGE | |
297 | DISPLAY_FLAGS_SYNC_NEGEDGE, | ||
300 | }; | 298 | }; |
301 | EXPORT_SYMBOL(omap_dss_ntsc_timings); | 299 | EXPORT_SYMBOL(omap_dss_ntsc_timings); |
302 | 300 | ||
diff --git a/drivers/gpu/drm/omapdrm/omap_connector.c b/drivers/gpu/drm/omapdrm/omap_connector.c index 5fa15da78a8c..562a04d49939 100644 --- a/drivers/gpu/drm/omapdrm/omap_connector.c +++ b/drivers/gpu/drm/omapdrm/omap_connector.c | |||
@@ -107,8 +107,9 @@ void copy_timings_drm_to_omap(struct omap_video_timings *timings, | |||
107 | else | 107 | else |
108 | timings->flags |= DISPLAY_FLAGS_VSYNC_LOW; | 108 | timings->flags |= DISPLAY_FLAGS_VSYNC_LOW; |
109 | 109 | ||
110 | timings->flags |= DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE; | 110 | timings->flags |= DISPLAY_FLAGS_DE_HIGH | |
111 | timings->sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE; | 111 | DISPLAY_FLAGS_PIXDATA_POSEDGE | |
112 | DISPLAY_FLAGS_SYNC_NEGEDGE; | ||
112 | } | 113 | } |
113 | 114 | ||
114 | static enum drm_connector_status omap_connector_detect( | 115 | static enum drm_connector_status omap_connector_detect( |