1. 29 6月, 2018 2 次提交
  2. 10 4月, 2018 1 次提交
  3. 07 3月, 2018 1 次提交
  4. 02 3月, 2018 1 次提交
    • I
      drm/i915/gen9, gen10: Disable FBC on planes with a misaligned Y-offset · fee0fddc
      Imre Deak 提交于
      Enabling FBC on a plane having a Y-offset that isn't divisible by 4 may
      cause pipe FIFO underruns and flickers, so disable FBC on such a config.
      
      I tried the followings to work around the issue:
      - enable each HW work around in ILK_DPFC_CHICKEN
      - disable each compression algorithm in ILK_DPFC_CONTROL
      - disable low-power watermarks
      None of the above got rid of the problem. I haven't found this issue in
      the Bspec/WA database either.
      
      Besides the igt testcase below (yet to be merged) an easy way to
      reproduce the issue is to enable a plane with FBC and a plane Y-offset
      not aligned to 4 and then just enable/disable FBC in a loop, keeping the
      plane enabled.
      
      I could trigger the problem on BXT/GLK/SKL/CNL, so assume for now that it's
      only present on GEN9 and GEN10.
      
      v2: (Ville)
      - Run the test/apply the WA on CNL as well.
      - Use IS_GEN() instead of INTEL_GEN().
      - Fix spelling.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Testcase: igt/kms_plane/plane-clipping-pipe-A-planes
      Signed-off-by: NImre Deak <imre.deak@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180301134457.13974-1-imre.deak@intel.com
      fee0fddc
  5. 23 2月, 2018 1 次提交
  6. 22 2月, 2018 1 次提交
  7. 21 2月, 2018 1 次提交
  8. 05 2月, 2018 1 次提交
  9. 30 1月, 2018 1 次提交
  10. 25 1月, 2018 1 次提交
  11. 17 1月, 2018 1 次提交
  12. 12 12月, 2017 1 次提交
  13. 22 11月, 2017 3 次提交
  14. 18 10月, 2017 2 次提交
  15. 22 9月, 2017 1 次提交
  16. 31 8月, 2017 1 次提交
  17. 26 8月, 2017 2 次提交
  18. 11 8月, 2017 1 次提交
  19. 07 6月, 2017 2 次提交
  20. 26 5月, 2017 1 次提交
  21. 22 5月, 2017 1 次提交
  22. 13 3月, 2017 1 次提交
  23. 24 2月, 2017 1 次提交
  24. 09 2月, 2017 2 次提交
  25. 01 2月, 2017 1 次提交
  26. 25 1月, 2017 1 次提交
  27. 19 1月, 2017 1 次提交
  28. 12 1月, 2017 1 次提交
  29. 05 1月, 2017 1 次提交
    • P
      drm/i915: enable FBC on gen9+ too · fd7d6c5c
      Paulo Zanoni 提交于
      Gen9+ platforms have been seeing a lot of screen flickerings and
      underruns, so I never felt comfortable in enabling FBC on these
      platforms since I didn't want to throw yet another feature on top of
      the already complex problem. We now have code that automatically
      disables FBC if we ever get an underrun, and the screen flickerings
      seem to be mostly gone, so it may be a good time to try to finally
      enable FBC by default on the newer platforms.
      
      Besides, BDW FBC has been working fine over the year, which gives me a
      little more confidence now.
      
      For a little more information, please refer to commit a98ee793
      ("drm/i915/fbc: enable FBC by default on HSW and BDW").
      
      v2: Enable not only on SKL, but for everything new (Daniel).
      v3: Rebase after the intel_sanitize_fbc_option() change.
      v4: New rebase after 8 months, drop expired R-B tags.
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1482495839-27041-1-git-send-email-paulo.r.zanoni@intel.com
      fd7d6c5c
  30. 20 12月, 2016 1 次提交
    • P
      drm/i915: fully apply WaSkipStolenMemoryFirstPage · 3c6b29b2
      Paulo Zanoni 提交于
      Don't even tell the mm allocator to handle the first page of stolen on
      the affected platforms. This means that we won't inherit the FB in
      case the BIOS decides to put it at the start of stolen. But the BIOS
      should not be putting it at the start of stolen since it's going to
      get corrupted. I suppose the bug here is that some pixels at the very
      top of the screen will be corrupted, so it's not exactly easy to
      notice.
      
      We have confirmation that the first page of stolen does actually get
      corrupted, so I really think we should do this in order to avoid any
      possible future headaches, even if that means losing BIOS framebuffer
      inheritance. Let's not use the HW in a way it's not supposed to be
      used.
      
      Notice that now ggtt->stolen_usable_size won't reflect the ending
      address of the stolen usable range anymore, so we have to fix the
      places that rely on this. To simplify, we'll just use U64_MAX.
      
      v2: don't even put the first page on the mm (Chris)
      v3: drm_mm_init() takes size instead of end as argument (Ville)
      v4: add a comment explaining the reserved ranges (Chris)
          use 0 for start and U64_MAX for end when possible (Chris)
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94605
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Link: http://patchwork.freedesktop.org/patch/msgid/1481808235-27607-1-git-send-email-paulo.r.zanoni@intel.com
      3c6b29b2
  31. 15 12月, 2016 1 次提交
  32. 15 11月, 2016 2 次提交