From 503290cedf96c434296adf22ae2e8205a734e508 Mon Sep 17 00:00:00 2001 From: Vincent Abriou Date: Thu, 28 Jan 2016 13:08:48 +0100 Subject: 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 Reviewed-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_vtg.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/gpu/drm/sti/sti_vtg.h') 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; -- cgit v1.2.3