1. 06 9月, 2012 1 次提交
  2. 17 8月, 2012 1 次提交
    • D
      drm/i915: simplify dvo dpms interface · fac3274c
      Daniel Vetter 提交于
      All dvo drivers only support 2 dpms states, and our dvo driver
      even switches of the dvo port for anything else than DPMS_ON. Hence
      ditch this complexity and simply use bool enable.
      
      While reading through this code I've noticed that the mode_set
      function of ch7017 is a bit peculiar - it disable the lvds again, even
      though the crtc helper code should have done that ... This might be to
      work around an issue at driver load, we pretty much ignore the hw
      state when taking over.
      
      v2: Also do the conversion for the new ns2501 driver.
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-Off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      fac3274c
  3. 20 9月, 2011 1 次提交
  4. 18 9月, 2010 1 次提交
    • C
      drm/i915: use GMBUS to manage i2c links · f899fc64
      Chris Wilson 提交于
      Use the GMBUS interface rather than direct bit banging to grab the EDID
      over DDC (and for other forms of auxiliary communication with external
      display controllers). The hope is that this method will be much faster
      and more reliable than bit banging for fetching EDIDs from buggy monitors
      or through switches, though we still preserve the bit banging as a
      fallback in case GMBUS fails.
      
      Based on an original patch by Jesse Barnes.
      
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      f899fc64
  5. 13 4月, 2010 1 次提交
    • E
      drm/i915: Remove dead KMS encoder save/restore code. · 6443170f
      Eric Anholt 提交于
      This was brought over from UMS, and used for a while until we decided
      that drm_helper_resume_force_mode was easier and more reliable, since
      it didn't require duplicating all the code deleted here.  We just
      forgot to delete all that junk for a while.
      6443170f
  6. 06 11月, 2009 1 次提交
  7. 19 6月, 2009 1 次提交
    • K
      drm/i915: Change I2C api to pass around i2c_adapters · f9c10a9b
      Keith Packard 提交于
      The existing API passed around intel_i2c_chan pointers, which are dependent
      on the i2c bit-banging algo. This precluded the driver from using outputs
      which use a different algo. Switching to the more general i2c_adpater allows
      the driver to support non bit-banging DDC.
      
      This also required moving the slave address into the output private
      structures.
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      f9c10a9b
  8. 29 12月, 2008 1 次提交
    • 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