diff options
author | benjamin.gaignard@linaro.org <benjamin.gaignard@linaro.org> | 2016-01-07 14:30:39 +0100 |
---|---|---|
committer | Vincent Abriou <vincent.abriou@st.com> | 2016-02-26 10:03:56 +0100 |
commit | 652353e6e561c2aeeac62df183f721f6f9b5b45f (patch) | |
tree | 261e2c653c006684020fee21485c02d8f91d56d6 /drivers/gpu/drm/sti/sti_crtc.c | |
parent | 20c476010d19758e98edf0bf9192121636f910dc (diff) | |
download | blackbird-op-linux-652353e6e561c2aeeac62df183f721f6f9b5b45f.tar.gz blackbird-op-linux-652353e6e561c2aeeac62df183f721f6f9b5b45f.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_crtc.c')
-rw-r--r-- | drivers/gpu/drm/sti/sti_crtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti_crtc.c index de11c7cfb02f..505620c7c2c8 100644 --- a/drivers/gpu/drm/sti/sti_crtc.c +++ b/drivers/gpu/drm/sti/sti_crtc.c @@ -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; } |