mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 21:26:56 +07:00
drm/sti: adjust delay for AWG
Compensate delay introduced by AWG IP during DE generation Signed-off-by: Bich Hemon <bich.hemon@st.com> Reviewed-by: Vincent ABRIOU <vincent.abriou@st.com>
This commit is contained in:
parent
32e145926b
commit
4d7037708a
@ -6,6 +6,8 @@
|
||||
|
||||
#include "sti_awg_utils.h"
|
||||
|
||||
#define AWG_DELAY (-5)
|
||||
|
||||
#define AWG_OPCODE_OFFSET 10
|
||||
#define AWG_MAX_ARG 0x3ff
|
||||
|
||||
@ -125,7 +127,7 @@ static int awg_generate_line_signal(
|
||||
val = timing->blanking_level;
|
||||
ret |= awg_generate_instr(RPLSET, val, 0, 0, fwparams);
|
||||
|
||||
val = timing->trailing_pixels - 1;
|
||||
val = timing->trailing_pixels - 1 + AWG_DELAY;
|
||||
ret |= awg_generate_instr(SKIP, val, 0, 0, fwparams);
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@
|
||||
#define HDMI_DELAY (5)
|
||||
|
||||
/* Delay introduced by the DVO in nb of pixel */
|
||||
#define DVO_DELAY (2)
|
||||
#define DVO_DELAY (7)
|
||||
|
||||
/* delay introduced by the Arbitrary Waveform Generator in nb of pixels */
|
||||
#define AWG_DELAY_HD (-9)
|
||||
|
Loading…
Reference in New Issue
Block a user