1. 11 12月, 2013 6 次提交
  2. 10 12月, 2013 2 次提交
  3. 09 12月, 2013 1 次提交
    • D
      drm/i915: Remove duplicate intel_uncore_forcewake_reset. · c461562e
      Deepak S 提交于
      Since early sanitize and uncore sanitize are called one after the other,
      I think, we can remove second forcewake reset which was are calling
      twice in both the functions.
      
      Note that this is merge fallout between
      
      commit ef46e0d2
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Sat Nov 16 16:00:09 2013 +0100
      
          drm/i915: restore the early forcewake cleanup
      
      and
      
      commit 521198a2
      Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Date:   Fri Aug 23 16:52:30 2013 +0300
      
          drm/i915: sanitize forcewake registers on reset
      Signed-off-by: NDeepak S <deepak.s@intel.com>
      [danvet: Explain how this came to be.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c461562e
  4. 07 12月, 2013 1 次提交
    • P
      drm/i915: change CRTC assertion on LCPLL disable · 798183c5
      Paulo Zanoni 提交于
      Currently, PC8 is enabled at modeset_global_resources, which is called
      after intel_modeset_update_state. Due to this, there's a small race
      condition on the case where we start enabling PC8, then do a modeset
      while PC8 is still being enabled. The racing condition triggers a WARN
      because intel_modeset_update_state will mark the CRTC as enabled, then
      the thread that's still enabling PC8 might look at the data structure
      and think that PC8 is being enabled while a pipe is enabled. Despite
      the WARN, this is not really a bug since we'll wait for the
      PC8-enabling thread to finish when we call modeset_global_resources.
      
      The spec says the CRTC cannot be enabled when we disable LCPLL, so we
      had a check for crtc->base.enabled. If we change to crtc->active we
      will still prevent disabling LCPLL while the CRTC is enabled, and we
      will also prevent the WARN above.
      
      This is a replacement for the previous patch named
          "drm/i915: get/put PC8 when we get/put a CRTC"
      
      Testcase: igt/pm_pc8/modeset-lpsp-stress-no-wait
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      798183c5
  5. 05 12月, 2013 1 次提交
  6. 04 12月, 2013 13 次提交
  7. 02 12月, 2013 1 次提交
    • D
      drm/i915/lvds: don't restore hw state in the lid notifier for pch platforms · 5be19d91
      Daniel Vetter 提交于
      It's a pain for two reasons:
      - The vga plane redisablign requires actual legacy vgao i/o to pull
        of. The hw engineers really botched this one here :(
      - There seem to be some BIOS out there which send out lid events when
        unplugging. Together with our broken DP code, which disables the
        port when the cable is lost, this results in an immediate modeset
        call, which can hang on the wait for outstanding flips.
      - Also we don't want to force a modeset on machines where it's not
        really needed, see the referenced bug.
      
      We might want to extend this in general to also all machines that
      support opregion, since there the BIOS supposedly should manage the
      gfx hardware more cooperatively.
      
      v2: Pimp commit message a bit.
      
      Cc: Roland Dreier <roland@kernel.org>
      References: https://bugs.freedesktop.org/show_bug.cgi?id=65486Acked-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      5be19d91
  8. 29 11月, 2013 2 次提交
  9. 28 11月, 2013 13 次提交