diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-11 21:52:44 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-14 17:20:59 +0200 |
commit | 4cdb83ec9a72f741c75e20c8e412c505fc037f5f (patch) | |
tree | 29a9a8ea15f6226035cc1fd28b4a3a252ba03b80 /drivers/gpu/drm/i915/intel_dp.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
0 files changed, 0 insertions, 0 deletions