1. 13 4月, 2010 5 次提交
  2. 10 4月, 2010 1 次提交
    • Z
      drm/i915: change intel_ddc_get_modes() function parameters · 335af9a2
      Zhenyu Wang 提交于
      This one replaces original param for intel_ddc_get_modes() with
      DRM connector and i2c bus adapter instead. With explicit params,
      we won't require that a single driver structure must hold connector
      and DDC bus reference, which ease the conversion to splitted encoder/
      connector model.
      
      It also clears up for some cases that we would steal other DDC bus
      for mode probe, like VGA analog DDC probe for DVI-I. Also it fixed
      a bug in old DVI-I probe handling, that failed to restore origin
      analog GPIO port.
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      335af9a2
  3. 26 3月, 2010 2 次提交
    • E
    • E
      drm/i915: Rename intel_output to intel_encoder. · 21d40d37
      Eric Anholt 提交于
      The intel_output naming is inherited from the UMS code, which had a
      structure of screen -> CRTC -> output.  The DRM code has an additional
      notion of encoder/connector, so the structure is screen -> CRTC ->
      encoder -> connector.  This is a useful structure for SDVO encoders
      which can support multiple connectors (each of which requires
      different programming in the one encoder and could be connected to
      different CRTCs), or for DVI-I, where multiple encoders feed into the
      connector for whether it's used for digital or analog.  Most of our
      code is encoder-related, so transition it to talking about encoders
      before we start trying to distinguish connectors.
      
      This patch is produced by sed s/intel_output/intel_encoder/ over the
      driver.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      21d40d37
  4. 27 2月, 2010 1 次提交
  5. 30 1月, 2010 1 次提交
  6. 13 1月, 2010 2 次提交
  7. 17 12月, 2009 1 次提交
  8. 04 12月, 2009 1 次提交
  9. 02 12月, 2009 1 次提交
  10. 06 11月, 2009 1 次提交
  11. 11 9月, 2009 3 次提交
  12. 05 9月, 2009 2 次提交
  13. 25 8月, 2009 2 次提交
  14. 04 8月, 2009 1 次提交
  15. 31 7月, 2009 1 次提交
  16. 30 7月, 2009 1 次提交
  17. 02 7月, 2009 1 次提交
  18. 19 6月, 2009 2 次提交
  19. 11 6月, 2009 1 次提交
  20. 05 6月, 2009 1 次提交
  21. 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
  22. 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
  23. 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
  24. 02 4月, 2009 4 次提交