Skip to content
Commit 08d7b3d1 authored by Carl Worth's avatar Carl Worth Committed by Eric Anholt
Browse files

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: default avatarCarl Worth <cworth@cworth.org>
[anholt: Style touchups from review]
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 9d2949a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment