From: Ville Syrjälä Date: Wed, 6 Aug 2014 11:50:01 +0000 (+0300) Subject: drm/i915: Update scanline_offset only for active crtcs X-Git-Tag: fixes-against-v3.18-rc2~73^2~39^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d297e1037327884fe9545f434d720fd3e8f18c80;p=pandora-kernel.git drm/i915: Update scanline_offset only for active crtcs update_scanline_offset() in intel_sanitize_crtc() was supposed to be called only for active crtcs. But due to some underrun patches it now gets updated for all crtcs on gmch platforms. Move the update_scanline_offset() to the very beginning of intel_sanitize_crtc() where we update the vblank state. This seems like a better place anyway since the scanline offset ought to be up to date before we might need to consult it. So before any vblanky stuff happens. Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed