Commit 0b340405 authored by Maxime Ripard's avatar Maxime Ripard

drm/sun4i: Report proper vblank

The sun4i display engine doesn't have any vblank counter. Use the proper
helper for that.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 13fef095
...@@ -92,7 +92,7 @@ static struct drm_driver sun4i_drv_driver = { ...@@ -92,7 +92,7 @@ static struct drm_driver sun4i_drv_driver = {
/* Frame Buffer Operations */ /* Frame Buffer Operations */
/* VBlank Operations */ /* VBlank Operations */
.get_vblank_counter = drm_vblank_count, .get_vblank_counter = drm_vblank_no_hw_counter,
.enable_vblank = sun4i_drv_enable_vblank, .enable_vblank = sun4i_drv_enable_vblank,
.disable_vblank = sun4i_drv_disable_vblank, .disable_vblank = sun4i_drv_disable_vblank,
}; };
......
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