1. 29 11月, 2012 1 次提交
  2. 22 11月, 2012 3 次提交
  3. 12 11月, 2012 14 次提交
  4. 20 10月, 2012 4 次提交
  5. 18 10月, 2012 2 次提交
  6. 16 10月, 2012 2 次提交
    • B
      drm/i915: Workaround to bump rc6 voltage to 450 · 31643d54
      Ben Widawsky 提交于
      BIOS should be setting the minimum voltage for rc6 to be 450mV. Old or
      buggy BIOSen may not be doing this, so we correct it for them. Ideally
      customers should update the BIOS as only it would know the optimal
      values for the platform, so we leave that fact as a DRM_ERROR for the
      user to see.
      
      Unfortunately this isn't fixing any of the issues it was targeted to
      fix, but it is documented that we must do it.
      
      CC: Jesse Barnes <jbarnes@virtuousgeek.org>
      CC: Matt Turner <mattst88@gmail.com>
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      [danvet: bikeshedded loglevel of the "your bios is broken message" to
      debug.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      31643d54
    • B
      drm/i915: Extract PCU communication · 42c0526c
      Ben Widawsky 提交于
      There is a special mechanism for communicating with the PCU already
      being used for the ring frequency stuff. As we'll be needing this for
      other commands, extract it now to make future code less error prone and
      the current code more reusable.
      
      I'm not entirely sure if this code matches 1:1 with the previous code
      behaviorally. Functionally however, it should be the same.
      
      CC: Jesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      [danvet: Fixup compile fail reported by Wu Fengguang.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      42c0526c
  7. 12 10月, 2012 1 次提交
  8. 11 10月, 2012 1 次提交
  9. 08 10月, 2012 3 次提交
  10. 05 10月, 2012 3 次提交
  11. 26 9月, 2012 1 次提交
  12. 20 9月, 2012 2 次提交
  13. 11 9月, 2012 1 次提交
  14. 03 9月, 2012 2 次提交
    • B
      drm/i915: Never read FORCEWAKE · 8dee3eea
      Ben Widawsky 提交于
      The same designer from the previous patch has told us to never read
      FORCEWAKE. We only do this for the POSTING_READ(), so simply change that
      to something within the same cacheline (for no reason in particular
      other than it sounds nice). In the _mt case we can leverage
      the gtfifodbg check for the POSTING_READ.
      
      This partially reverts
      commit 6af2d180
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Thu Jul 26 16:24:50 2012 +0200
      
          drm/i915: fix forcewake related hangs on snb
      
      v2: commit message, comments about posting read from (Daniel)
      
      Note: vlv forcewake doesn't need any changes for this special
      treatment since FORCEWAKE_VLV is in a totally different register
      range, and the readback FORCEWAKE_ACK_VLV readback that follows is in
      the same range.
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Acked-by: NChris Wilson <chris@chris-wilson.co.uk>
      [danvet: Added note.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      8dee3eea
    • B
      drm/i915: Change forcewake timeout to 2ms · 057d3860
      Ben Widawsky 提交于
      A designer familiar with the hardware has stated that the forcewake
      timeout can theoretically be as high as a little over 1ms. Therefore we
      modify our code to use 2ms (appropriate fudge and because we don't want
      to round down).
      
      Hopefully this can't prevent spurious timeouts.
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Acked-by: NChris Wilson <chris@chris-wilson.oc.uk>
      [danvet: again fix conflict with vlv patch.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      057d3860