1. 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
  2. 06 11月, 2009 1 次提交
  3. 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
  4. 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