Skip to content

Commit 652353e

Browse files
Benjamin-Gaignardvinceab
authored andcommitted
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>
1 parent 20c4760 commit 652353e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/sti/sti_crtc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ static bool sti_crtc_mode_fixup(struct drm_crtc *crtc,
5656
struct drm_display_mode *adjusted_mode)
5757
{
5858
/* accept the provided drm_display_mode, do not fix it up */
59+
drm_mode_set_crtcinfo(adjusted_mode, CRTC_INTERLACE_HALVE_V);
5960
return true;
6061
}
6162

0 commit comments

Comments
 (0)