summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-13 21:03:45 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-23 10:54:28 +0100
commit1e3feefd5a24da1685c518e20ba9624cd593d0a1 (patch)
tree6b313a85451e8a40067b5ccacd1310bfd6d22cc4 /drivers/gpu/drm/i915/i915_debugfs.c
parentf3a5c3f62f6412907798416fda4f2db04ee41755 (diff)
downloadlwn-1e3feefd5a24da1685c518e20ba9624cd593d0a1.tar.gz
lwn-1e3feefd5a24da1685c518e20ba9624cd593d0a1.zip
drm/i915: Switch to drm_crtc variants of vblank functions
Where possible right now. Just a small step towards nirvana ... v2: git add. Uggh. Noticed by Imre. Cc: Imre Deak <imre.deak@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 661527cb00ea..3a08684a7af3 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -580,7 +580,7 @@ static int i915_gem_pageflip_info(struct seq_file *m, void *data)
seq_printf(m, "Flip queued on frame %d, (was ready on frame %d), now %d\n",
work->flip_queued_vblank,
work->flip_ready_vblank,
- drm_vblank_count(dev, crtc->pipe));
+ drm_crtc_vblank_count(&crtc->base));
if (work->enable_stall_check)
seq_puts(m, "Stall check enabled, ");
else