1. 07 11月, 2013 1 次提交
  2. 14 10月, 2013 1 次提交
  3. 12 10月, 2013 1 次提交
    • P
      drm/i915: increase the SWSCI DSLP default timeout to 50ms · 4994aa8c
      Paulo Zanoni 提交于
      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: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      4994aa8c
  4. 18 9月, 2013 1 次提交
    • P
      drm/i915: check for more ASLC interrupts · 507c1a45
      Paulo Zanoni 提交于
      Sometimes I see the "non asle set request??" message on my Haswell
      machine, so I decided to get the spec and see if some bits are missing
      from the mask. We do have some bits missing from the mask, so this
      patch adds them, and the corresponding code to print "unsupported"
      messages just like we do with the other bits we don't support.
      
      But I still see the "non asle set request??" message on my machine :(
      
      Also use the proper ASLC name to indicate the registers we're talking
      about.
      
      v2: - Properly set the new FAILED bits
          - Rename the old FAILED bits
          - Print everything we don't support
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      507c1a45
  5. 13 9月, 2013 1 次提交
  6. 06 9月, 2013 1 次提交
    • J
      drm/i915: try not to lose backlight CBLV precision · cac6a5ae
      Jani Nikula 提交于
      ACPI has _BCM and _BQC methods to set and query the backlight
      brightness, respectively. The ACPI opregion has variables BCLP and CBLV
      to hold the requested and current backlight brightness, respectively.
      
      The BCLP variable has range 0..255 while the others have range
      0..100. This means the _BCM method has to scale the brightness for BCLP,
      and the gfx driver has to scale the requested value back for CBLV. If
      the _BQC method uses the CBLV variable (apparently some implementations
      do, some don't) for current backlight level reporting, there's room for
      rounding errors.
      
      Use DIV_ROUND_UP for scaling back to CBLV to get back to the same values
      that were passed to _BCM, presuming the _BCM simply uses bclp = (in *
      255) / 100 for scaling to BCLP.
      
      Reference: https://gist.github.com/aaronlu/6314920Reported-by: NAaron Lu <aaron.lu@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Reviewed-by: NAaron Lu <aaron.lu@intel.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      cac6a5ae
  7. 04 9月, 2013 3 次提交
  8. 01 7月, 2013 1 次提交
  9. 06 6月, 2013 1 次提交
  10. 30 4月, 2013 4 次提交
  11. 25 4月, 2013 4 次提交
  12. 25 3月, 2013 1 次提交
  13. 01 2月, 2013 1 次提交
  14. 03 10月, 2012 1 次提交
  15. 01 10月, 2012 1 次提交
  16. 20 9月, 2012 1 次提交
  17. 03 5月, 2012 1 次提交
  18. 19 3月, 2012 1 次提交
  19. 20 9月, 2011 1 次提交
  20. 16 8月, 2011 1 次提交
  21. 14 7月, 2011 1 次提交
  22. 25 2月, 2011 1 次提交
  23. 25 1月, 2011 1 次提交
  24. 19 1月, 2011 1 次提交
  25. 05 12月, 2010 1 次提交
  26. 01 11月, 2010 1 次提交
  27. 08 9月, 2010 3 次提交
  28. 13 8月, 2010 1 次提交
  29. 10 8月, 2010 1 次提交
  30. 19 4月, 2010 1 次提交