From: Jesse Barnes Date: Fri, 6 Feb 2009 18:22:41 +0000 (-0800) Subject: drm/i915: add get_vblank_counter function for GM45 X-Git-Tag: v2.6.29-rc5~50^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9880b7a527ffbb52f65c2de0a8d4eea86e24775e;p=pandora-kernel.git drm/i915: add get_vblank_counter function for GM45 As discussed in the long thread about vblank related timeouts, it turns out GM45 has different frame count registers than previous chips. This patch adds support for them, which prevents us from waiting on really stale sequence values in drm_wait_vblank (which rather than returning immediately ends up timing out or getting interrupted). Signed-off-by: Jesse Barnes Signed-off-by: Dave Airlie --- Reading git-diff-tree failed