1. 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
  2. 23 5月, 2009 1 次提交
  3. 15 5月, 2009 1 次提交
    • J
      drm/i915: ignore LVDS on intel graphics systems that lie about having it · 425d244c
      Jarod Wilson 提交于
      There are a number of small form factor desktop systems with Intel mobile
      graphics chips that lie and say they have an LVDS. With kernel mode-setting,
      this becomes a problem, and makes native resolution boot go haywire -- for
      example, my Dell Studio Hybrid, hooked to a 1920x1080 display claims to
      have a 1024x768 LVDS, and the resulting graphical boot on the 1920x1080
      display uses only the top left 1024x768, and auto-configured X will end
      up only 1024x768 as well. With this change, graphical boot and X
      both do 1920x1080 as expected.
      
      Note that we're simply embracing and extending the early bail-out code
      in place for the Mac Mini here. The xorg intel driver uses pci subsystem
      device and vendor id for matching, while we're using dmi lookups here.
      The MSI addition is courtesy of and tested by Bill Nottingham.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Tested-by: NBill Nottingham <notting@redhat.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      425d244c
  4. 28 3月, 2009 1 次提交
  5. 20 2月, 2009 1 次提交
  6. 08 2月, 2009 1 次提交
  7. 03 2月, 2009 1 次提交
  8. 30 1月, 2009 1 次提交
  9. 22 1月, 2009 1 次提交
  10. 16 1月, 2009 1 次提交
  11. 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