drm/vc4: Fix get_vblank_counter with proper no-op for Linux 4.4+
[cascardo/linux.git] / drivers / gpu / drm / vc4 / vc4_drv.c
index 3446ece..ef7de8e 100644 (file)
@@ -91,7 +91,7 @@ static struct drm_driver vc4_drm_driver = {
 
        .enable_vblank = vc4_enable_vblank,
        .disable_vblank = vc4_disable_vblank,
-       .get_vblank_counter = drm_vblank_count,
+       .get_vblank_counter = drm_vblank_no_hw_counter,
 
 #if defined(CONFIG_DEBUG_FS)
        .debugfs_init = vc4_debugfs_init,