summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti/sti_vtg.h
diff options
context:
space:
mode:
authorVincent Abriou <vincent.abriou@st.com>2016-01-28 15:08:48 +0300
committerVincent Abriou <vincent.abriou@st.com>2016-02-26 12:03:57 +0300
commit503290cedf96c434296adf22ae2e8205a734e508 (patch)
treebd1a24a1f6c4b637cd4be1b352ae3c181ff74231 /drivers/gpu/drm/sti/sti_vtg.h
parentf29ddaf17f1fc41f15edcb13ba24636a95d59345 (diff)
downloadlinux-503290cedf96c434296adf22ae2e8205a734e508.tar.xz
drm/sti: update VTG timing programming
This update eases to understand the VTG programming. It also sets a VTG output id for each supported connectors. Signed-off-by: Vincent Abriou <vincent.abriou@st.com> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_vtg.h')
-rw-r--r--drivers/gpu/drm/sti/sti_vtg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_vtg.h b/drivers/gpu/drm/sti/sti_vtg.h
index cd2439f89d05..f1dcdf9c2342 100644
--- a/drivers/gpu/drm/sti/sti_vtg.h
+++ b/drivers/gpu/drm/sti/sti_vtg.h
@@ -10,6 +10,11 @@
#define VTG_TOP_FIELD_EVENT 1
#define VTG_BOTTOM_FIELD_EVENT 2
+#define VTG_SYNC_ID_HDMI 1
+#define VTG_SYNC_ID_HDDCS 2
+#define VTG_SYNC_ID_HDF 3
+#define VTG_SYNC_ID_DVO 4
+
struct sti_vtg;
struct drm_display_mode;
struct notifier_block;