diff options
-rw-r--r-- | drivers/gpu/drm/sti/sti_awg_utils.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/sti/sti_vtg.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/sti/sti_awg_utils.c b/drivers/gpu/drm/sti/sti_awg_utils.c index a516eb869f6f..2da7d6866d5d 100644 --- a/drivers/gpu/drm/sti/sti_awg_utils.c +++ b/drivers/gpu/drm/sti/sti_awg_utils.c | |||
@@ -6,6 +6,8 @@ | |||
6 | 6 | ||
7 | #include "sti_awg_utils.h" | 7 | #include "sti_awg_utils.h" |
8 | 8 | ||
9 | #define AWG_DELAY (-5) | ||
10 | |||
9 | #define AWG_OPCODE_OFFSET 10 | 11 | #define AWG_OPCODE_OFFSET 10 |
10 | #define AWG_MAX_ARG 0x3ff | 12 | #define AWG_MAX_ARG 0x3ff |
11 | 13 | ||
@@ -125,7 +127,7 @@ static int awg_generate_line_signal( | |||
125 | val = timing->blanking_level; | 127 | val = timing->blanking_level; |
126 | ret |= awg_generate_instr(RPLSET, val, 0, 0, fwparams); | 128 | ret |= awg_generate_instr(RPLSET, val, 0, 0, fwparams); |
127 | 129 | ||
128 | val = timing->trailing_pixels - 1; | 130 | val = timing->trailing_pixels - 1 + AWG_DELAY; |
129 | ret |= awg_generate_instr(SKIP, val, 0, 0, fwparams); | 131 | ret |= awg_generate_instr(SKIP, val, 0, 0, fwparams); |
130 | } | 132 | } |
131 | 133 | ||
diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c index 6bf4ce466d20..957ce712ea44 100644 --- a/drivers/gpu/drm/sti/sti_vtg.c +++ b/drivers/gpu/drm/sti/sti_vtg.c | |||
@@ -65,7 +65,7 @@ | |||
65 | #define HDMI_DELAY (5) | 65 | #define HDMI_DELAY (5) |
66 | 66 | ||
67 | /* Delay introduced by the DVO in nb of pixel */ | 67 | /* Delay introduced by the DVO in nb of pixel */ |
68 | #define DVO_DELAY (2) | 68 | #define DVO_DELAY (7) |
69 | 69 | ||
70 | /* delay introduced by the Arbitrary Waveform Generator in nb of pixels */ | 70 | /* delay introduced by the Arbitrary Waveform Generator in nb of pixels */ |
71 | #define AWG_DELAY_HD (-9) | 71 | #define AWG_DELAY_HD (-9) |