diff options
author | Anders Bauer <anders.bauer@stericsson.com> | 2011-12-01 16:41:53 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:04:26 +0200 |
commit | 4728b0c732f4d1c8c80702ba8e4bf48bd627d273 (patch) | |
tree | 7def874a07adfa61fa4edaa2ca083adc2e694ee0 /include/video/mcde.h | |
parent | 51da222046dff73d3b221b9a8bc72dbe7eb77013 (diff) |
video: mcde: use hw frame trig from mcde formatter
DSI BTA always rely on software frame trigger.
This patch introduces hardware frame trigger from
MCDE formatter and makes it selectable from LCD
driver to use either software or hardware frame
trigger on DSI BTA vertical synchronization.
ST-Ericsson ID: 405619
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Idb7ed9b999760ecf3156895c9fd313a7613b39cb
Signed-off-by: Anders Bauer <anders.bauer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40866
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Tested-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
Diffstat (limited to 'include/video/mcde.h')
-rw-r--r-- | include/video/mcde.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/video/mcde.h b/include/video/mcde.h index 94344812f33..b9f6a6b55fd 100644 --- a/include/video/mcde.h +++ b/include/video/mcde.h @@ -46,7 +46,12 @@ enum mcde_sync_src { MCDE_SYNCSRC_TE1 = 2, /* MCDE ext TE1 */ MCDE_SYNCSRC_BTA = 3, /* DSI BTA */ MCDE_SYNCSRC_TE_POLLING = 4, /* DSI TE_POLLING */ - MCDE_SYNCSRC_FORMATTER = 5, /* Sync from formatter */ +}; + +/* Frame trig method */ +enum mcde_trig_method { + MCDE_TRIG_HW = 0, /* frame trig from MCDE formatter */ + MCDE_TRIG_SW = 1, /* frame trig from software */ }; /* Interface pixel formats (output) */ @@ -118,6 +123,7 @@ struct mcde_port { u8 ifc; u8 link; enum mcde_sync_src sync_src; + enum mcde_trig_method frame_trig; bool update_auto_trig; enum mcde_hdmi_sdtv_switch hdmi_sdtv_switch; union { |