From: Imre Deak Date: Tue, 4 Mar 2014 17:23:03 +0000 (+0200) Subject: drm/i915: factor out reset_vblank_counter X-Git-Tag: v3.15-rc1~51^2~55^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd7c0b66e5414c54a9af8f100cc904240bab5102;p=pandora-kernel.git drm/i915: factor out reset_vblank_counter We need to do the same for other platforms in upcoming patches. v2: - s/p/pipe (Ville) - Call the new helper with the vbl_lock already held. The part it protects is short, so releasing it between pipes only makes proving correctness more difficult. Signed-off-by: Imre Deak Reviewed-by: Jesse Barnes [danvet: Resolve conflict with Damien's s/p/pipe/ change.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed