From: Mario Kleiner Date: Sun, 21 Nov 2010 15:59:02 +0000 (-0500) Subject: drm/kms/radeon: Reorder vblank and pageflip interrupt handling. X-Git-Tag: v2.6.38-rc1~419^2~41^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e4ea7421f45966c93c8cbe81569e8dc93a58b87;p=pandora-kernel.git drm/kms/radeon: Reorder vblank and pageflip interrupt handling. In the vblank irq handler, calls to actual vblank handling, or at least drm_handle_vblank(), need to happen before calls to radeon_crtc_handle_flip(). Reason: The high precision pageflip timestamping and some other pageflip optimizations will need the updated vblank count and timestamps for the current vblank interval. These are calculated in drm_handle_vblank(), therefore it must go first. Signed-off-by: Mario Kleiner Signed-off-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed