1
0
Fork 0

drm/sti: set CRTC modesetting parameters

Set CRTC modesetting parameters to avoid warnings in atomic mode.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
hifive-unleashed-5.1
benjamin.gaignard@linaro.org 2016-01-07 14:30:39 +01:00 committed by Vincent Abriou
parent 20c476010d
commit 652353e6e5
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ static bool sti_crtc_mode_fixup(struct drm_crtc *crtc,
struct drm_display_mode *adjusted_mode)
{
/* accept the provided drm_display_mode, do not fix it up */
drm_mode_set_crtcinfo(adjusted_mode, CRTC_INTERLACE_HALVE_V);
return true;
}