1. 07 12月, 2013 1 次提交
  2. 15 11月, 2013 1 次提交
  3. 09 11月, 2013 1 次提交
  4. 07 11月, 2013 2 次提交
  5. 14 10月, 2013 1 次提交
  6. 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
  7. 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
  8. 13 9月, 2013 1 次提交
  9. 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
  10. 04 9月, 2013 3 次提交
  11. 01 7月, 2013 1 次提交
  12. 06 6月, 2013 1 次提交
  13. 30 4月, 2013 4 次提交
  14. 25 4月, 2013 4 次提交
  15. 25 3月, 2013 1 次提交
  16. 01 2月, 2013 1 次提交
  17. 03 10月, 2012 1 次提交
  18. 01 10月, 2012 1 次提交
  19. 20 9月, 2012 1 次提交
  20. 03 5月, 2012 1 次提交
  21. 19 3月, 2012 1 次提交
  22. 20 9月, 2011 1 次提交
  23. 16 8月, 2011 1 次提交
  24. 14 7月, 2011 1 次提交
  25. 25 2月, 2011 1 次提交
  26. 25 1月, 2011 1 次提交
  27. 19 1月, 2011 1 次提交
  28. 05 12月, 2010 1 次提交
  29. 01 11月, 2010 1 次提交
  30. 08 9月, 2010 2 次提交
    • C
      drm/i915: Refactor panel backlight controls · a9573556
      Chris Wilson 提交于
      There were two instances of code to control the panel backlight and
      neither handled the complete set of device variations.
      
      Fixes:
      
        Bug 29716 - [GM965] Regression: Backlight resets to minimum when changing resolution
        https://bugs.freedesktop.org/show_bug.cgi?id=29716
      
      And a bug on one of my PineView boxes which overflowed the backlight
      value.
      
      Incorporates part of a similar patch by Matthew Garrett that exposes a
      native Intel backlight controller.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      a9573556
    • 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