From: Kristian Høgsberg Date: Tue, 17 Nov 2009 17:43:55 +0000 (-0500) Subject: drm/kms: add page flipping ioctl X-Git-Tag: v2.6.33-rc1~323^2~6^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d91d8a3f88059d93e34ac70d059153ec69a9ffc7;p=pandora-kernel.git drm/kms: add page flipping ioctl This adds a page flipping ioctl to the KMS API. The ioctl takes an fb ID and a ctrc ID and flips the crtc to the given fb at the next vblank. The ioctl returns immediately but the flip doesn't happen until after any rendering that's currently queued up against the new framebuffer is done. After submitting a page flip, any execbuffer involving the old front buffer will block until the flip is completed. Optionally, a vblank event can be generated when the swap eventually happens. Signed-off-by: Kristian Høgsberg Reviewed-by: Chris Wilson Signed-off-by: Dave Airlie --- Reading git-diff-tree failed