• Robert Chiras's avatar
    drm/mxsfb: Fix the vblank events · 7c653d4b
    Robert Chiras authored
    Currently, the vblank support is not correctly implemented in MXSFB_DRM
    driver. The call to drm_vblank_init is made with mode_config.num_crtc
    which at that time is 0. Because of this, vblank is not activated, so
    there won't be any vblank event submitted.
    For example, when running modetest with the '-v' parameter will result
    in an astronomical refresh rate (10000+ Hz), because of that.
    Signed-off-by: default avatarRobert Chiras <robert.chiras@nxp.com>
mxsfb_drv.c 12.5 KB