Skip to content

Commit

Permalink
drm/sti: set CRTC modesetting parameters
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
benjamin.gaignard@linaro.org authored and Vincent Abriou committed Feb 26, 2016
1 parent 20c4760 commit 652353e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/sti/sti_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 652353e

Please sign in to comment.