From: Ville Syrjälä Date: Fri, 11 Oct 2013 18:52:44 +0000 (+0300) Subject: drm/i915: Don't pretend that gen2 has a hardware frame counter X-Git-Tag: v3.13-rc1~76^2~68^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cdb83ec9a72f741c75e20c8e412c505fc037f5f;p=pandora-kernel.git 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ä Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed