From: Carl Worth Date: Wed, 29 Apr 2009 21:43:54 +0000 (-0700) Subject: drm/i915: Add new GET_PIPE_FROM_CRTC_ID ioctl. X-Git-Tag: linux-omap-v2.6.30-rc6~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08d7b3d1edff84bd673d9e9ab36b5aa62e1ba903;p=pandora-kernel.git drm/i915: Add new GET_PIPE_FROM_CRTC_ID ioctl. This allows userlevel code to discover the pipe number corresponding to a given CRTC ID. This is necessary for doing pipe-specific operations such as waiting for vblank on a given CRTC. Failure to use the right pipe mapping can result in GPU hangs, or at least failure to actually sync to vblank. Signed-off-by: Carl Worth [anholt: Style touchups from review] Signed-off-by: Eric Anholt --- Reading git-diff-tree failed