1. 21 1月, 2011 2 次提交
    • L
      i915: Fix i915 suspend delay · d7b9935a
      Linus Torvalds 提交于
      During system suspend, the "wait for ring buffer to empty" loop would
      always time out after three seconds, because the faster cached ring
      buffer head read would always return zero.  Force the slow-and-careful
      PIO read on all but the first iterations of the loop to fix it.
      
      This also removes the unused (and useless) 'actual_head' variable that
      tried to approximate doing this, but did it incorrectly.
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Dave Airlie <airlied@linux.ie>
      Cc: DRI mailing list <dri-devel@lists.freedesktop.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d7b9935a
    • L
      ACPI / Battery: remove battery refresh on resume · b23fffd7
      Linus Torvalds 提交于
      This partially reverts commit da8aeb92
      ("ACPI / Battery: Update information on info notification and resume"),
      which causes a hang on resume on at least some machines.
      
      This bug was bisected on an ASUS EeePC 901, which hangs at resume time
      if we do that "acpi_battery_refresh(battery)" in the battery resume
      function.
      
      Rafael suspects we'll still need to refresh the sysfs files upon resume,
      but that that can be done from a PM notifier (that will run after
      thawing user space).
      Bisected-and-tested-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Matthew Garrett <mjg@redhat.com>
      Cc: Len Brown <len.brown@intel.com>
      Acked-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b23fffd7
  2. 20 1月, 2011 3 次提交
  3. 19 1月, 2011 21 次提交
  4. 18 1月, 2011 5 次提交
  5. 17 1月, 2011 9 次提交