Commit 8661532a authored by Vincent Abriou's avatar Vincent Abriou Committed by Benjamin Gaignard

drm/sti: hdmi fix CEA-861E video format timing error

HDMI analyzer tests showed that Vsync and Hsync signal were not
compliant with the HDMI protocol.

The first active pixel of a line is defined by HDMI_ACTIVE_VID_XMIN.
The last active pixel of a line is defined by HDMI_ACTIVE_VID_XMAX.
Signed-off-by: default avatarVincent Abriou <vincent.abriou@st.com>
parent 8b0a99ce
...@@ -192,8 +192,8 @@ static void hdmi_active_area(struct sti_hdmi *hdmi) ...@@ -192,8 +192,8 @@ static void hdmi_active_area(struct sti_hdmi *hdmi)
u32 xmin, xmax; u32 xmin, xmax;
u32 ymin, ymax; u32 ymin, ymax;
xmin = sti_vtg_get_pixel_number(hdmi->mode, 0); xmin = sti_vtg_get_pixel_number(hdmi->mode, 1);
xmax = sti_vtg_get_pixel_number(hdmi->mode, hdmi->mode.hdisplay - 1); xmax = sti_vtg_get_pixel_number(hdmi->mode, hdmi->mode.hdisplay);
ymin = sti_vtg_get_line_number(hdmi->mode, 0); ymin = sti_vtg_get_line_number(hdmi->mode, 0);
ymax = sti_vtg_get_line_number(hdmi->mode, hdmi->mode.vdisplay - 1); ymax = sti_vtg_get_line_number(hdmi->mode, hdmi->mode.vdisplay - 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment