1. 15 May, 2009 38 commits
  2. 14 May, 2009 2 commits
    • Carl Worth's avatar
      drm/i915: Add new GET_PIPE_FROM_CRTC_ID ioctl. · 08d7b3d1
      Carl Worth authored
      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>
      08d7b3d1
    • Ma Ling's avatar
      drm/i915: Set HDMI hot plug interrupt enable for only the output in question. · 9d2949a4
      Ma Ling authored
      We detect HDMI output connection status by writing to HOT Plug Interrupt
      Detect Enable bit in PORT_HOTPLUG_EN.  The behavior will generate a specified
      interrupt, which is caught by audio driver, but during one detection driver
      set all Detect Enable bits of HDMIB, HDMIC HDMID, and generate wrong
      interrupt signals for current output, according to the signals audio driver
      misunderstand device status. The patch intends to handle corresponding
      output precisely.
      
      It fixed freedesktop.org bug #21371
      Signed-off-by: default avatarMa Ling <ling.ma@intel.com>
      Signed-off-by: default avatarEric Anholt <eric@anholt.net>
      9d2949a4