1. 30 7月, 2009 1 次提交
    • Z
      drm/I915: Fix offset to DVO timings in LVDS data · cdaa052b
      Zhao Yakui 提交于
      Now the DVO timing in LVDS data entry is obtained by using the
      following step:
          a. get the entry size for every LVDS panel data
          b. Get the LVDS fp entry for the preferred panel type
          c. get the DVO timing by using entry->dvo_timing
      
      In our driver the entry->dvo_timing is related with the size of
      lvds_fp_timing. For example: the size is 46.
      
      But it seems that the size of lvds_fp_timing varies on the differnt
      platform. In such case we will get the incorrect DVO timing entry
      because of the incorrect DVO offset in LVDS panel data entry.
      This also removes a hack on new IGDNG to get proper DVO timing.
      
      Calculate the DVO timing offset in LVDS data entry to get the DVO timing
          a. get the DVO timing offset in the LVDS fp data entry by using the
      pointer definition in LVDS data ptr
          b. get the LVDS data entry
          c. get the DVO timing by adding the DVO timing offset to data entry
      
      https://bugs.freedesktop.org/show_bug.cgi?id=22787Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Tested-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      Acked-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      cdaa052b
  2. 11 7月, 2009 1 次提交
  3. 02 7月, 2009 1 次提交
  4. 23 6月, 2009 1 次提交
  5. 19 6月, 2009 1 次提交
  6. 05 6月, 2009 1 次提交
  7. 23 5月, 2009 1 次提交
  8. 25 2月, 2009 1 次提交
  9. 20 2月, 2009 1 次提交
  10. 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