1. 08 2月, 2021 1 次提交
  2. 05 2月, 2021 2 次提交
    • G
      drm/i915/display: Support PSR Multiple Instances · b64d6c51
      Gwan-gyeong Mun 提交于
      It is a preliminary work for supporting multiple EDP PSR and
      DP PanelReplay. And it refactors singleton PSR to Multi Transcoder
      supportable PSR.
      And this moves and renames the i915_psr structure of drm_i915_private's to
      intel_dp's intel_psr structure.
      It also causes changes in PSR interrupt handling routine for supporting
      multiple transcoders. But it does not change the scenario and timing of
      enabling and disabling PSR. And it not support multiple pipes with
      a single transcoder PSR case yet.
      
      v2: Fix indentation and add comments
      v3: Remove Blank line
      v4: Rebased
      v5: Rebased and Addressed Anshuman's review comment.
          - Move calling of intel_psr_init() to intel_dp_init_connector()
      v6: Address Anshuman's review comments
         - Remove wrong comments and add comments for a limit of supporting of
           a single pipe PSR
      v7: Update intel_psr_compute_config() for supporting multiple transcoder
          PSR on BDW+
      v8: Address Anshuman's review comments
         - Replace DRM_DEBUG_KMS with drm_dbg_kms() / DRM_WARN with drm_warn()
      v9: Fix commit message
      v10: Rebased
      v11: Address Jose's review comment.
        - Reorder calling order of intel_psr2_program_trans_man_trk_ctl().
        - In order to reduce changes keep the old name for drm_i915_private.
        - Change restrictions of multiple instances of PSR.
      v12: Address Jose's review comment.
        - Change the calling of intel_psr2_program_trans_man_trk_ctl() into
          commit_pipe_config().
        - Change a checking order of CAN_PSR() and connector_status to original
          on i915_psr_sink_status_show().
        - Drop unneeded intel_dp_update_pipe() function.
        - In order to wait a specific encoder which belong to crtc_state on
          intel_psr_wait_for_idle(), add checking of encoder.
        - Add an whitespace to comments.
      v13: Rebased and Address Jose's review comment.
        - Add and use for_each_intel_psr_enabled_encoder() macro.
        - In order to use correct frontbuffer_bit for each pipe,
          fix intel_psr_invalidate() and intel_psr_flush().
        - Remove redundant or unneeded codes.
        - Update comments.
      v14: Address Jose's review comment
        - Add and use for_each_intel_encoder_can_psr() macro and
          for_each_intel_encoder_mask_can_psr() macro.
        - Add source_support member variable into intel_psr structure.
        - Update CAN_PSR() macro that checks source_support.
        - Move encoder's PSR availity check to psr_init() from
          psr_compute_config().
        - Remove redundant or unneeded codes.
      v15: Remove wrong mutex lock/unlock of PSR from
           intel_psr2_program_trans_man_trk_ctl()
      Signed-off-by: NGwan-gyeong Mun <gwan-gyeong.mun@intel.com>
      Cc: José Roberto de Souza <jose.souza@intel.com>
      Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
      Cc: Anshuman Gupta <anshuman.gupta@intel.com>
      Reviewed-by: NAnshuman Gupta <anshuman.gupta@intel.com>
      Reviewed-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Signed-off-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210204134015.419036-1-gwan-gyeong.mun@intel.com
      b64d6c51
    • C
      drm/i915/display: support ddr5 mem types · 1f1257a6
      Clint Taylor 提交于
      Add DDR5 and LPDDR5 return values from punit fw.
      
      BSPEC: 54023
      Cc: Matt Roper <matthew.d.roper@intel.com>
      Cc: José Roberto de Souza <jose.souza@intel.com>
      Signed-off-by: NClint Taylor <clinton.a.taylor@intel.com>
      Reviewed-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Signed-off-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210204200458.21875-1-clinton.a.taylor@intel.com
      1f1257a6
  3. 02 2月, 2021 1 次提交
  4. 01 2月, 2021 1 次提交
  5. 29 1月, 2021 3 次提交
  6. 26 1月, 2021 3 次提交
  7. 21 1月, 2021 2 次提交
  8. 15 1月, 2021 1 次提交
  9. 13 1月, 2021 1 次提交
  10. 09 1月, 2021 1 次提交
  11. 31 12月, 2020 1 次提交
  12. 24 12月, 2020 1 次提交
  13. 18 12月, 2020 3 次提交
  14. 16 12月, 2020 1 次提交
  15. 10 12月, 2020 1 次提交
  16. 02 12月, 2020 2 次提交
  17. 01 12月, 2020 1 次提交
  18. 06 11月, 2020 1 次提交
  19. 05 11月, 2020 1 次提交
  20. 03 11月, 2020 1 次提交
  21. 21 10月, 2020 1 次提交
  22. 20 10月, 2020 1 次提交
  23. 15 10月, 2020 1 次提交
    • V
      drm/i915: Enable eLLC caching of display buffers for SKL+ · c0888e9e
      Ville Syrjälä 提交于
      Since SKL the eLLC has been sitting on the far side of the system
      agent, meaning the display engine can utilize it. Let's enable that.
      
      I chose WB for the caching mode, because my numbers are indicating
      that WT might actually be WB and WC might actually be UC. I'm not
      100% sure that is indeed the case but at least my simple rendercopy
      based benchmark didn't see any difference in performance.
      
      Also if I configure things to do LLCeLLC+WT I still get cache dirt
      on my screen, suggesting that is in fact operating in WB mode
      anyway. This is also the reason I had to fix the MOCS target cache
      to really say PTE rather than LLC+eLLC.
      Since SKL the eLLC has been sitting on the far side of the system agent,
      meaning the display engine can utilize it. Let's enable that.
      
      Eero's earlier benchmarks numbers:
      "* Results in GfxBench and Unigine (Valley/Heaven) tests were within daily
         variation on the tested SKL machines
      
       * SKL GT4e (128MB eLLC) / Wayland / Weston:
         +15-20% SynMark TexMem512 (512MB of textures)
         +4-6% SynMark TerrainFly*, CSCloth, ShMapVsm
         -5-10% SynMark TexMem128 (128MB of textures)
      
       * SKL GT3e (64MB eLLC) / Xorg / Unity:
         +4-8% GpuTest Triangle fullscreen (FullHD)
         -5-10% GpuTest Triangle windowed (1/2 screen)
      
       * SKL GT2 (no eLLC) / Xorg / Unity:
         * Some of the higher FPS SynMark pixel and vertex shader tests
           are few percent higher, more than daily variance
         => Do you see any reason why this machine would be impacted
            although it doesn't eLLC?"
      
      Caveats:
      - Still haven't tested with a prime setup
      - Still not entirely sure this a good idea, but I've been
        using it on my cfl anyway :)
      
      v2: Split the MOCS PTE change out
      
      Cc: Eero Tamminen <eero.t.tamminen@intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201007120329.17076-3-ville.syrjala@linux.intel.com
      Link: https://patchwork.freedesktop.org/patch/msgid/20201015122138.30161-3-chris@chris-wilson.co.uk
      c0888e9e
  24. 14 10月, 2020 1 次提交
  25. 10 10月, 2020 1 次提交
    • V
      drm/i915: Shut down displays gracefully on reboot · fe0f1e3b
      Ville Syrjälä 提交于
      Implement the pci .shutdown() hook in order to quiesce the
      hardware prior to reboot. The main purpose here is to turn
      all displays off. Some displays/other drivers tend to get
      confused if the state after reboot isn't exactly as they
      expected.
      
      One specific example was the Dell UP2414Q in MST mode.
      It would require me to pull the power cord after a reboot
      or else it would just not come back to life. Sadly I don't
      have that at hand anymore so not sure if it's still
      misbehaving without the graceful shutdown, or if we
      managed to fix something else since I last tested it.
      
      For good measure we do a gem suspend as well, so that
      we match the suspend flow more closely. Also stopping
      all DMA and whatnot is probably a good idea for kexec.
      I would expect that some kind of GT reset happens on
      normal reboot so probably not totally necessary there.
      
      v2: Use the pci .shutdown() hook instead of a reboot notifier (Lukas)
          Do the gem suspend for kexec (Chris)
      
      Cc: Lukas Wunner <lukas@wunner.de>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201001151640.14590-1-ville.syrjala@linux.intel.comReviewed-by: NJani Nikula <jani.nikula@intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      fe0f1e3b
  26. 01 10月, 2020 1 次提交
  27. 29 9月, 2020 1 次提交
  28. 18 9月, 2020 1 次提交
  29. 15 9月, 2020 3 次提交