1. 11 Oct, 2013 1 commit
    • Paulo Zanoni's avatar
      drm/i915: increase the SWSCI DSLP default timeout to 50ms · 4994aa8c
      Paulo Zanoni authored
      The spec says the default timeout should be 2ms, but on my machine
      this doesn't seem to be enough. Sometimes it works, sometimes I get
      these messages when booting:
        - SWSCI request timed out
        - SWSCI request already in progress
      
      And my guess is that the "already in progress" message is because the
      first one is still happening.
      
      I did some experiments on my machine (that has CONFIG_HZ=1000) and the
      wait_for function usually takes 4-6 jiffies to finish, but I've seen
      up to 9. So increase the timeout to 50ms. We only expect to wait for
      the actual amount of time the operation takes, so even a huge timeout
      shouldn't delay us more than what the hardware actually requires.
      
      Cc: Jani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      4994aa8c
  2. 10 Oct, 2013 39 commits