1. 12 12月, 2013 1 次提交
  2. 11 12月, 2013 2 次提交
    • P
      drm/i915: add initial Runtime PM functions · 8a187455
      Paulo Zanoni 提交于
      This patch adds the initial infrastructure to allow a Runtime PM
      implementation that sets the device to its D3 state. The patch just
      adds the necessary callbacks and the initial infrastructure.
      
      We still don't have any platform that actually uses this
      infrastructure, we still don't call get/put in all the places we need
      to, and we don't have any function to save/restore the state of the
      registers. This is not a problem since no platform uses the code added
      by this patch. We have a few people simultaneously working on runtime
      PM, so this initial code could help everybody make their plans.
      
      V2: - Move some functions to intel_pm.c
          - Remove useless pm_runtime_allow() call at init
          - Remove useless pm_runtime_mark_last_busy() call at get
          - Use pm_runtime_get_sync() instead of 2 calls
          - Add a WARN to check if we're really awake
      
      V3: - Rebase.
      
      V4: - Don't need to call pci_{save,restore}_state and
            pci_set_power_sate, since they're already called by the PCI
            layer
          - Remove wrong pm_runtime_enable() call at init_runtime_pm
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      8a187455
    • P
      drm/i915: get a PC8 reference when enabling the power well · d62292c8
      Paulo Zanoni 提交于
      In the current code, at haswell_modeset_global_resources, first we
      decide if we want to enable/disable the power well, then we decide if
      we want to enable/disable PC8. On the case where we're enabling PC8
      this works fine, but on the case where we disable PC8 due to a non-eDP
      monitor being enabled, we first enable the power well and then disable
      PC8. Although wrong, this doesn't seem to be causing any problems now,
      and we don't even see anything in dmesg. But the patches for runtime
      D3 turn this problem into a real bug, so we need to fix it.
      
      This fixes the "modeset-non-lpsp" subtest from the "pm_pc8" test from
      intel-gpu-tools.
      
      v2: - Rebase (i915_disable_power_well).
      v3: - More reabase.
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      d62292c8
  3. 04 12月, 2013 2 次提交
  4. 28 11月, 2013 5 次提交
  5. 27 11月, 2013 6 次提交
  6. 25 11月, 2013 1 次提交
  7. 21 11月, 2013 1 次提交
  8. 20 11月, 2013 1 次提交
    • D
      drm/i915: Fix gen3 self-refresh watermarks · f727b490
      Daniel Vetter 提交于
      This regression has been introduced in
      
      commit 4fe8590a
      Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Date:   Wed Sep 4 18:25:22 2013 +0300
      
          drm/i915: Use adjusted_mode appropriately when computing watermarks
      
      I guess we should renable the enabled local variable into something a
      notch more descriptive, but that's something for -next.
      
      The effect on my i945gme netbook is pretty severe amounts of underruns
      - usually the very first pixel gets used for the entire screeen.
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Damien Lespiau <damien.lespiau@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      f727b490
  9. 16 11月, 2013 1 次提交
  10. 14 11月, 2013 1 次提交
  11. 09 11月, 2013 13 次提交
  12. 08 11月, 2013 2 次提交
  13. 07 11月, 2013 3 次提交
  14. 06 11月, 2013 1 次提交