diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-06-20 12:20:58 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-06-30 21:55:26 +0200 |
commit | 0b340405fca980b12a2ddafdd4536ad6fb624755 (patch) | |
tree | e1e065046d09080038a35766157ffb628bde23be /drivers/gpu | |
parent | drm: sun4i: do cleanup if RGB output init fails (diff) | |
download | linux-0b340405fca980b12a2ddafdd4536ad6fb624755.tar.xz linux-0b340405fca980b12a2ddafdd4536ad6fb624755.zip |
drm/sun4i: Report proper vblank
The sun4i display engine doesn't have any vblank counter. Use the proper
helper for that.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/sun4i/sun4i_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 257d2b4f3645..cbe4a25a748c 100644 --- a/drivers/gpu/drm/sun4i/sun4i_drv.c +++ b/drivers/gpu/drm/sun4i/sun4i_drv.c @@ -92,7 +92,7 @@ static struct drm_driver sun4i_drv_driver = { /* Frame Buffer Operations */ /* VBlank Operations */ - .get_vblank_counter = drm_vblank_count, + .get_vblank_counter = drm_vblank_no_hw_counter, .enable_vblank = sun4i_drv_enable_vblank, .disable_vblank = sun4i_drv_disable_vblank, }; |