1. 24 3月, 2021 1 次提交
  2. 12 3月, 2021 1 次提交
  3. 04 3月, 2021 1 次提交
  4. 13 2月, 2021 1 次提交
    • M
      drm/i915: FPGA_DBG is display-specific · a321c3c6
      Matt Roper 提交于
      Although the bspec's description doesn't make it very clear, the
      hardware architects have confirmed that the FPGA_DBG register that we
      use to check for unclaimed MMIO accesses is display-specific and will
      only properly flag unclaimed MMIO transactions for registers in the
      display range.  If a platform doesn't have display, FPGA_DBG itself will
      not be available and should not be checked.  Let's move the feature flag
      into intel_device_info.display to more accurately reflect this.
      
      Given that we now know FPGA_DBG is display-specific, it could be argued
      that we should only check it on out intel_de_*() functions.  However
      let's not make that change right now; keeping the checks in all of the
      existing locations still helps us catch cases where regular
      intel_uncore_*() functions use bad MMIO offset math / base addresses and
      accidentally wind up landing within an unused area within the display
      MMIO range.  It will also help catch cases where userspace-initiated
      MMIO (e.g., IGT's intel_reg tool) attempt to read bad offsets within the
      display range.
      
      v2:  Add missing hunk with the update to the HAS_FPGA_DBG_UNCLAIMED
           macro.  (CI)
      
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NLucas De Marchi <lucas.demarchi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210212222049.3516344-1-matthew.d.roper@intel.com
      a321c3c6
  5. 09 2月, 2021 1 次提交
  6. 08 2月, 2021 1 次提交
  7. 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
  8. 02 2月, 2021 1 次提交
  9. 01 2月, 2021 1 次提交
  10. 29 1月, 2021 3 次提交
  11. 26 1月, 2021 4 次提交
  12. 21 1月, 2021 2 次提交
  13. 15 1月, 2021 1 次提交
  14. 13 1月, 2021 1 次提交
  15. 09 1月, 2021 1 次提交
  16. 05 1月, 2021 1 次提交
  17. 31 12月, 2020 1 次提交
  18. 24 12月, 2020 1 次提交
  19. 18 12月, 2020 3 次提交
  20. 16 12月, 2020 1 次提交
  21. 10 12月, 2020 1 次提交
  22. 02 12月, 2020 2 次提交
  23. 01 12月, 2020 1 次提交
  24. 06 11月, 2020 1 次提交
  25. 05 11月, 2020 1 次提交
  26. 03 11月, 2020 1 次提交
  27. 21 10月, 2020 1 次提交
  28. 20 10月, 2020 1 次提交
  29. 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
  30. 14 10月, 2020 1 次提交