commit | 4cdb83ec9a72f741c75e20c8e412c505fc037f5f | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Oct 11 21:52:44 2013 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Oct 14 17:20:59 2013 +0200 |
tree | 29a9a8ea15f6226035cc1fd28b4a3a252ba03b80 | |
parent | 7c06b08a3073de570f6f0261dae6247cce98f2ab [diff] |
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>