1. 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
  2. 26 7月, 2012 1 次提交
    • T
      drm/i915: Support for ns2501-DVO · 7434a255
      Thomas Richter 提交于
      This patch adds support for the ns2501 DVO, found in some older Fujitsu/Siemens Labtops.
      It is in the state of "works for me".
      Includes now proper DPMS support. Includes switching between resolutions -
      from 640x480 to 1024x768.
      Currently assumes that the native display resolution is 1024x768.
      
      The ns2501 seems to be rather critical - if the output PLL is not
      running, the chip doesn't seem to be clocked and then doesn't react
      on i2c messages. Thus, a quick'n-dirty trick ensures that the DVO
      is active before submitting any i2c messages to it. This is
      probably to be reviewed.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=17902Signed-off-by: NThomas Richter <thor@math.tu-berlin.de>
      [danvet: fixup whitespace fail.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      7434a255
  3. 20 7月, 2012 1 次提交
  4. 10 8月, 2010 1 次提交
  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. 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
  7. 29 12月, 2008 2 次提交
    • H
      drm/i915: fix sparse warnings: move 'extern' decls to header file · 606df4e0
      Hannes Eder 提交于
      Move 'extern'-decls from "intel_dvo.c" to "dvo.h", as "dvo.h" is
      included by and only by files where the symbols are either defined or
      used.
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      606df4e0
    • 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