drm/i915: Don't pretend that gen2 has a hardware frame counter
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Oct 2013 18:52:44 +0000 (21:52 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Oct 2013 15:20:59 +0000 (17:20 +0200)
commit4cdb83ec9a72f741c75e20c8e412c505fc037f5f
tree29a9a8ea15f6226035cc1fd28b4a3a252ba03b80
parent7c06b08a3073de570f6f0261dae6247cce98f2ab
drm/i915: Don't pretend that gen2 has a hardware frame counter

Gen2 doesn't have a hardware frame counter that can be read out. Just
provide a stub .get_vblank_counter() that always returns 0 instead of
trying to read non-existing registers.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
This page took 0.038152 seconds and 5 git commands to generate.