Commit bd2b7eb6 authored by Thomas Zimmermann's avatar Thomas Zimmermann

drm/ast: Don't set struct drm_crtc_state.no_vblank explicitly

As ast does not initialize vblanking, atomic helpers initialize the
value of struct drm_crtc_state.no_vblank to be true. No need to set
it from within the driver.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200129120531.6891-4-tzimmermann@suse.de
parent dccd3237
...@@ -833,8 +833,6 @@ static void ast_crtc_helper_atomic_flush(struct drm_crtc *crtc, ...@@ -833,8 +833,6 @@ static void ast_crtc_helper_atomic_flush(struct drm_crtc *crtc,
struct ast_vbios_mode_info *vbios_mode_info; struct ast_vbios_mode_info *vbios_mode_info;
struct drm_display_mode *adjusted_mode; struct drm_display_mode *adjusted_mode;
crtc->state->no_vblank = true;
ast_state = to_ast_crtc_state(crtc->state); ast_state = to_ast_crtc_state(crtc->state);
format = ast_state->format; format = ast_state->format;
......
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