From: Ville Syrjälä Date: Tue, 29 Apr 2014 10:35:50 +0000 (+0300) Subject: drm/i915: Improve gen3/4 frame counter X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b2a8e09f9b52b72b0436c84af647f1735d9528e;p=pandora-kernel.git drm/i915: Improve gen3/4 frame counter Currently the logic to fix up the frame counter on gen3/4 assumes that start of vblank occurs at vblank_start*htotal pixels, when in fact it occurs htotal-hsync_start pixels earlier. Apply the appropriate adjustment to make the frame counter more accurate. Also fix the vblank start position for interlaced display modes. Reviewed-by: Imre Deak Signed-off-by: Ville Syrjälä Reviewed-by: "Akash Goel " Reviewed-by: "Sourab Gupta " Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed