1. 02 12月, 2016 1 次提交
  2. 25 11月, 2016 1 次提交
  3. 17 11月, 2016 1 次提交
  4. 11 11月, 2016 1 次提交
  5. 14 10月, 2016 4 次提交
  6. 14 9月, 2016 1 次提交
  7. 13 9月, 2016 1 次提交
  8. 05 8月, 2016 1 次提交
  9. 03 8月, 2016 1 次提交
  10. 04 7月, 2016 1 次提交
  11. 30 6月, 2016 3 次提交
  12. 23 5月, 2016 1 次提交
  13. 20 5月, 2016 4 次提交
  14. 07 4月, 2016 1 次提交
  15. 10 3月, 2016 1 次提交
  16. 04 3月, 2016 1 次提交
  17. 18 2月, 2016 3 次提交
    • R
      drm/i915: Enable PSR by default on Haswell and Broadwell. · 9b58e352
      Rodrigo Vivi 提交于
      With a reliable frontbuffer tracking and all instability corner cases
      on Haswell and Broadwell solved let's re-enabled PSR by default on
      these platforms.
      
      In case a new issue is found and PSR is the main suspect, please check
      if i915.enable_psr=0 really makes your problem go away. If this is the case
      PSR is the culprit so after that please check if i915.enable_psr=2
      or i915.enable_psr=3 solves your issue and please let us know.
      There are many panels out there and not all implementations apparently
      work as we would expect.
      
      In case you needed to force it on standby or disabled or in case of any
      PSR related bug please report it at bugs.freedesktop.org.
      In a bugzilla entry for PSR is desirable:
      - dmesg (drm.debug=0xe)
      - output of /sys/kernel/debug/dri/0/i915_edp_psr_status
      - Platform information. Vendor, model, id, pci id.
      - Graphical environment: Gnome, KDE, openbox, etc...
      - Details how to reproduce.
      - Also good if you could run PSR test cases of Intel-gpu-tools
      - Please mention if forcing main link standby or main link off helps you.
      
      There are Intel-gpu-tools test cases that can be helpful to
      determine if PSR is working as expected:
      kms_psr_sink_crc and kms_psr_frontbuffer_tracking.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1455278893-1307-2-git-send-email-rodrigo.vivi@intel.comSigned-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      9b58e352
    • R
      drm/i915: Enable PSR by default on Valleyview and Cherryview. · a38c274f
      Rodrigo Vivi 提交于
      With a reliable frontbuffer tracking and all instability corner cases
      solved for this platform let's re-enabled PSR by default.
      
      In case a new issue is found and PSR is the main suspect, please check
      if i915.enable_psr=0 really makes your problem go away,
      please report it at bugs.freedesktop.org.
      
      In a bugzilla entry for PSR is desirable:
      - dmesg (drm.debug=0xe)
      - output of /sys/kernel/debug/dri/0/i915_edp_psr_status
      - Platform information. Vendor, model, id, pci id.
      - Graphical environment: Gnome, KDE, openbox, etc...
      - Details how to reproduce.
      - Also good if you could run PSR test cases of Intel-gpu-tools
      - Please mention if forcing main link standby or main link off helps you.
      
      There are Intel-gpu-tools test cases that can be helpful to
      determine if PSR is working as expected:
       kms_psr_sink_crc and kms_psr_frontbuffer_tracking.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      a38c274f
    • R
      drm/i915: Change i915.enable_psr parameter to use per platform default. · d94d6e87
      Rodrigo Vivi 提交于
      This will give us flexibility to enable PSR by default independently so
      issues and corner cases in one platform won't affect others were we have
      it working properly.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      d94d6e87
  18. 02 2月, 2016 3 次提交
  19. 12 12月, 2015 1 次提交
  20. 10 12月, 2015 1 次提交
  21. 08 12月, 2015 1 次提交
  22. 24 11月, 2015 4 次提交
    • R
      drm/i915: Also disable PSR on Sink when disabling it on Source. · b6e4d534
      Rodrigo Vivi 提交于
      It is not a bad idea to disable the PSR feature on Sink
      when we are disabling on the Source.
      
      v2: Move dpcd write inside mutex protected area as suggested by Sonika.
      
      Cc: Sonika Jindal <sonika.jindal@intel.com>
      Suggested-by: NSonika Jindal <sonika.jindal@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NSonika Jindal <sonika.jindal@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      b6e4d534
    • R
      drm/i915: PSR: Mask LPSP hw tracking back again. · bb929cbc
      Rodrigo Vivi 提交于
      When we introduced PSR we let LPSP masked allowing us to get PSR
      independently from the audio runtime PM. However in one of the
      attempts to get PSR enabled by default one user reported one specific
      case where he would miss screen updates if scrolling the firefox in a
      Gnome environment when i915 runtime pm was enabled. So for
      this specific case that (I could never create an i-g-t test case)
      we decided to remove the LPSP mask and let HW tracking taking care of
      this case. The mask got removed later by my
      commit 09108b90 ("drm/i915: PSR: Remove Low Power HW tracking mask.")
      
      So we started depending on audio driver again, what is bad.
      
      With previous commit
      "drm/i915: PSR: Let's rely more on frontbuffer tracking."
      we transfered the PSR exit responsability totally to SW frontbuffer
      tracking. So now can safelly shut off a bit the HW tracking, or
      at least this case that makes us to depend on other drivers.
      
      v2: Update commit message since this patch by itself doesn't solve
          the bugzilla entries.
      
      v3: Another attempt to improve commit message.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Tested-by: NBrian Norris <briannorris@chromium.org>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: Damien Lespiau damien.lespiau@intel.com
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      bb929cbc
    • R
      drm/i915: PSR: Let's rely more on frontbuffer tracking. · 921ec285
      Rodrigo Vivi 提交于
      The ultimate goal here is to remove the dependency we
      currently have on audio driver power to get PSR working.
      Since with audio driver runtime PM disabled the Hardware tracking
      believes graphics is fully active and prevent PSR Entry, or
      in other words continuously exit PSR.
      
      So, the idea is to transfer the PSR exit responsability
      from the HW tracking to the SW tracking (frontbuffer tracking),
      who is really mature right now.
      
      However with LPSP masked out there might be cases where we could
      miss exit from HW tracking since it can be relying on this,
      like a specific case reported at our mailing list who
      user reported he would miss screen updates if scrolling firefox
      in a Gnome environment when i915 runtimepm was enabled.
      
      So before masking out LPSP again to make us independent from
      the audio driver we need to make sure that all our cases
      are coverred from the frontbuffer tracking perspective,
      where the flush means invalidate and flush.
      
      Without this patch for HSW, BDW and SKL we just do the
      invalidate part when the flush wasn't originated by a page flip
      because we were trusting the HW tracking for the flip case.
      
      So let's rely more on frontbuffer tracking and do the
      invalidation regardless the origin as expected for all platforms.
      
      v2: Improve commit message as suggested by Paulo.
      
      v3: Another attempt to let commit message more clear.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: Damien Lespiau damien.lespiau@intel.com
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      921ec285
    • R
      drm/i915: Remove duplicated dpcd write on hsw_psr_enable_sink. · ca1a9533
      Rodrigo Vivi 提交于
      Commit (89251b17) intended to remove this line and let only one
      DP_PSR_EN_CFG set, but it was wrong and this call is now duplicated
      at the code.
      
      Also "& ~DP_PSR_MAIN_LINK_ACTIVE" doesn't do anything at all. It
      was like that since I introduced this call but probably the idea
      was to be informative and make clear statement that we were not using
      the link standby. So it is better to remove this one here and let
      the code a bit cleaner.
      
      v2: Improve commit message as requested by Paulo.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Tested-by: NBrian Norris <briannorris@chromium.org>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: Damien Lespiau damien.lespiau@intel.com
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      ca1a9533
  23. 18 11月, 2015 3 次提交