1. 30 7月, 2009 1 次提交
  2. 02 7月, 2009 1 次提交
  3. 19 6月, 2009 2 次提交
  4. 11 6月, 2009 1 次提交
  5. 05 6月, 2009 1 次提交
  6. 04 6月, 2009 1 次提交
    • K
      drm: Hook up DPMS property handling in drm_crtc.c. Add drm_helper_connector_dpms. · c9fb15f6
      Keith Packard 提交于
      Making the drm_crtc.c code recognize the DPMS property and invoke the
      connector->dpms function doesn't remove any capability from the driver while
      reducing code duplication.
      
      That just highlighted the problem with the existing DPMS functions which
      could turn off the connector, but failed to turn off any relevant crtcs. The
      new drm_helper_connector_dpms function manages all of that, using the
      drm_helper-specific crtc and encoder dpms functions, automatically computing
      the appropriate DPMS level for each object in the system.
      
      This fixes the current troubles in the i915 driver which left PLLs, pipes
      and planes running while in DPMS_OFF mode or even while they were unused.
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c9fb15f6
  7. 23 5月, 2009 3 次提交
    • M
      drm/i915: Use an I2C algo to do the flip to SDVO DDC bus. · 619ac3b7
      Ma Ling 提交于
      Previously, we would set the control bus switch before calls were made
      to request EDID information over DDC.  But recently the DDC code started
      doing multiple I2C transfers to get the EDID extensions as well.  This
      tripped up SDVO, because the control bus switch is only in effect until
      the next STOP after a START.  By doing our own algo, we can wrap each i2c
      transaction on the DDC I2C bus with the control bus switch it requires.
      
      freedesktop.org bug #21042
      Signed-off-by: NMa Ling <ling.ma@intel.com>
      [anholt: Hand application for conflict, fixed error path]
      Signed-off-by: NEric Anholt <eric@anholt.net>
      619ac3b7
    • J
      drm/i915: Determine type before initialising connector · ad5b2a6d
      Jonas Bonn 提交于
      drm_connector_init sets both the connector type and the connector type_id
      on the newly initialised connector.  As the connector type_id is coupled to
      the connector type, the connector type cannot simply be modified on an
      initialised connector.
      
      This patch changes the order of operations on intel_sdvo_init so that the
      type is determined before the connector is intialised.
      
      This fixes a bug whereby the name card0-VGA-1 would be allocted to both a
      CRT and an SDVO connector since the SDVO connector would be initialised
      with type 'unknown' and hence have its type_id assigned from the wrong pool.
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      ad5b2a6d
    • M
      drm/i915: Return SDVO LVDS VBT mode if no EDID modes are detected. · 7086c87f
      Ma Ling 提交于
      Some new SDVO LVDS hardware doesn't have DDC available, and this should
      fix the display on it.
      Signed-off-by: NMa Ling <ling.ma@intel.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      7086c87f
  8. 09 4月, 2009 1 次提交
    • M
      drm/i915: sync hdmi detection by hdmi identifier with 2D · 9dff6af8
      Ma Ling 提交于
      Currently we detect HDMI monitor by hardware detection, but if an HDMI-DVI
      adapter is used to connect a DVI monitor, hardware detection will incorrectly
      take monitor as HDMI. HDMI spec says any device containing IEEE registration
      identifier will be treated as HDMI device.  The patch intends to detect HDMI
      monitor by drm_detect_hdmi_monitor function which follows that rule.
      Signed-off-by: NMa Ling <ling.ma@intel.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      9dff6af8
  9. 02 4月, 2009 4 次提交
  10. 20 2月, 2009 1 次提交
  11. 08 2月, 2009 1 次提交
  12. 07 1月, 2009 1 次提交
  13. 29 12月, 2008 2 次提交
    • H
      drm/i915: fix sparse warnings: make symbols static · b358d0a6
      Hannes Eder 提交于
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      b358d0a6
    • J
      DRM: i915: add mode setting support · 79e53945
      Jesse Barnes 提交于
      This commit adds i915 driver support for the DRM mode setting APIs.
      Currently, VGA, LVDS, SDVO DVI & VGA, TV and DVO LVDS outputs are
      supported.  HDMI, DisplayPort and additional SDVO output support will
      follow.
      
      Support for the mode setting code is controlled by the new 'modeset'
      module option.  A new config option, CONFIG_DRM_I915_KMS controls the
      default behavior, and whether a PCI ID list is built into the module for
      use by user level module utilities.
      
      Note that if mode setting is enabled, user level drivers that access
      display registers directly or that don't use the kernel graphics memory
      manager will likely corrupt kernel graphics memory, disrupt output
      configuration (possibly leading to hangs and/or blank displays), and
      prevent panic/oops messages from appearing.  So use caution when
      enabling this code; be sure your user level code supports the new
      interfaces.
      
      A new SysRq key, 'g', provides emergency support for switching back to
      the kernel's framebuffer console; which is useful for testing.
      
      Co-authors: Dave Airlie <airlied@linux.ie>, Hong Liu <hong.liu@intel.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      79e53945