commit | 08d7b3d1edff84bd673d9e9ab36b5aa62e1ba903 | [log] [tgz] |
---|---|---|
author | Carl Worth <cworth@cworth.org> | Wed Apr 29 14:43:54 2009 -0700 |
committer | Eric Anholt <eric@anholt.net> | Thu May 14 16:00:32 2009 -0700 |
tree | 0dcbb40ceb39aafab750bb06e2cd165dd906f8d3 | |
parent | 9d2949a4cdb77b9b5c243c79be6489d34d770c7c [diff] |
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 <cworth@cworth.org> [anholt: Style touchups from review] Signed-off-by: Eric Anholt <eric@anholt.net>