1. 28 3月, 2012 1 次提交
    • D
      drm/i915/intel_i2c: refactor using intel_gmbus_get_adapter · 3bd7d909
      Daniel Kurtz 提交于
      Instead of letting other modules directly access the ->gmbus array,
      introduce intel_gmbus_get_adapter() for looking up an i2c_adapter
      for a given gmbus port identifier.  This will enable later refactoring
      of the gmbus port list.
      
      Note: Before requesting an adapter for a given gmbus port number, the
      driver must first check its validity using i2c_intel_gmbus_is_port_valid().
      If this check fails, a call to intel_gmbus_get_adapter() will WARN_ON and
      return NULL.  This is relevant for parts of the driver that read a port
      from VBIOS, which might be improperly initialized and contain an invalid
      port.  In these cases, the driver must fall back to using a safer default
      port.
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      3bd7d909
  2. 23 3月, 2012 1 次提交
  3. 02 3月, 2012 1 次提交
  4. 27 2月, 2012 1 次提交
  5. 18 1月, 2012 1 次提交
  6. 21 10月, 2011 1 次提交
  7. 28 9月, 2011 2 次提交
  8. 27 9月, 2011 1 次提交
  9. 20 9月, 2011 1 次提交
  10. 14 7月, 2011 1 次提交
    • C
      drm/i915/bios: Avoid temporary allocation whilst searching for downclock · 99834ea4
      Chris Wilson 提交于
      Alan Cox reported a missing check on the kmalloc return value for the
      allocation of a temporary mode used for searching for the LVDS downlock
      frequency. This allocation is roughly 200 bytes, a little too large to
      friviously place on the stack. However, we can simply use the few bytes
      we need stored within the original DVO timing data, skip the translation
      and do the compare directly between the timing data rather than on a
      mode, thus avoiding the need for any temporary allocations.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Keith Packard <keithp@keithp.com>
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      99834ea4
  11. 28 4月, 2011 1 次提交
  12. 22 2月, 2011 1 次提交
  13. 01 2月, 2011 1 次提交
  14. 19 1月, 2011 2 次提交
  15. 14 1月, 2011 1 次提交
  16. 30 12月, 2010 1 次提交
  17. 15 12月, 2010 1 次提交
  18. 22 10月, 2010 1 次提交
  19. 19 10月, 2010 1 次提交
  20. 08 10月, 2010 1 次提交
  21. 30 9月, 2010 1 次提交
    • S
      i915: Added function to initialize VBT settings · 6a04002b
      Simon Que 提交于
      Added a function that sets the LVDS values to default settings.  This
      will be called by intel_init_bios before checking for the VBT (video BIOS
      table). The default values are thus loaded regardless of whether a VBT
      is found.
      
      The default settings in each parse function have been moved to the new
      function. This consolidates all the default settings into one place.
      
      The default dither bit value has been changed from 0 to 1.  We can
      assume that display devices will want dithering enabled.
      Signed-off-by: NSimon Que <sque@chromium.org>
      Acked-by: NOlof Johansson <olof@lixom.net>
      [ickle: fixup for -next]
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      6a04002b
  22. 28 9月, 2010 1 次提交
  23. 24 9月, 2010 1 次提交
  24. 22 9月, 2010 1 次提交
  25. 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
  26. 13 9月, 2010 1 次提交
  27. 08 9月, 2010 1 次提交
    • C
      drm/i915: Use the VBT from OpRegion when available (v3) · 44834a67
      Chris Wilson 提交于
      It is recommended that we use the Video BIOS tables that were copied
      into the OpRegion during POST when initialising the driver. This saves
      us from having to furtle around inside the ROM ourselves and possibly
      allows the vBIOS to adjust the tables prior to initialisation.
      
      On some systems, such as the Samsung N210, there is no accessible VBIOS
      and the only means of finding the VBT is through the OpRegion.
      
      v2: Rearrange the code so that ASLE is enabled along with ACPI
      v3: Enable OpRegion parsing even without ACPI
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Matthew Garrett <mjg@redhat.com>
      44834a67
  28. 02 6月, 2010 1 次提交
  29. 11 5月, 2010 1 次提交
  30. 18 3月, 2010 1 次提交
  31. 27 2月, 2010 1 次提交
  32. 16 1月, 2010 2 次提交
  33. 08 12月, 2009 1 次提交
  34. 01 12月, 2009 2 次提交
  35. 26 11月, 2009 1 次提交
  36. 06 11月, 2009 1 次提交