1. 01 12月, 2020 1 次提交
  2. 28 11月, 2020 1 次提交
  3. 17 11月, 2020 1 次提交
    • B
      drm/i915: Tweaked Wa_14010685332 for PCHs used on gen11 platforms · b896898c
      Bob Paauwe 提交于
      The WA specifies that we need to toggle a SDE chicken bit on and then
      off as the final step in preparation for s0ix entry.
      
          Bspec: 33450
          Bspec: 8402
      
      However, something is happening after we toggle the bit that causes
      the WA to be invalidated. This makes dispcnlunit1_cp_xosc_clkreq
      active being already in s0ix state i.e SLP_S0 counter incremented.
      Tweaking the Wa_14010685332 by setting the bit on suspend and clearing
      it on resume turns down the dispcnlunit1_cp_xosc_clkreq.
      B.Spec has Documented this tweaked sequence of WA as an alternative.
      Let keep this tweaked WA for Gen11 platforms and keep untweaked WA for
      other platforms which never observed this issue.
      
      v2 (MattR):
       - Change the comment on the workaround to give PCH names rather than
         platform names.  Although the bspec is setup to list workarounds by
         platform, the hardware team has confirmed that the actual issue being
         worked around here is something that was introduced back in the
         Cannon Lake PCH and carried forward to subsequent PCH's.
       - Extend the untweaked version of the workaround to include  PCH_CNP as
         well.  Note that since PCH_CNP is used to represent CMP, this will
         apply on CML and some variants of RKL too.
       - Cap the untweaked version of the workaround so that it won't apply to
         "fake" PCH's (i.e., DG1).  The issue we're working around really is
         an issue in the PCH itself, not the South Display, so it shouldn't
         apply when there isn't a real PCH.
      
      v3:
       - use intel_de_rmw(). [Rodrigo]
      
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NBob Paauwe <bob.j.paauwe@intel.com>
      Signed-off-by: NAnshuman Gupta <anshuman.gupta@intel.com>
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201110121700.4338-1-anshuman.gupta@intel.comReviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      b896898c
  4. 12 11月, 2020 3 次提交
  5. 30 10月, 2020 14 次提交
  6. 24 10月, 2020 2 次提交
  7. 23 10月, 2020 1 次提交
  8. 22 10月, 2020 2 次提交
  9. 29 9月, 2020 3 次提交
  10. 28 9月, 2020 1 次提交
    • K
      drm/i915: Add enable/disable flip done and flip done handler · 1288f9b0
      Karthik B S 提交于
      Add enable/disable flip done functions and the flip done handler
      function which handles the flip done interrupt.
      
      Enable the flip done interrupt in IER.
      
      Enable flip done function is called before writing the
      surface address register as the write to this register triggers
      the flip done interrupt
      
      Flip done handler is used to send the page flip event as soon as the
      surface address is written as per the requirement of async flips.
      The interrupt is disabled after the event is sent.
      
      v2: -Change function name from icl_* to skl_* (Paulo)
          -Move flip handler to this patch (Paulo)
          -Remove vblank_put() (Paulo)
          -Enable flip done interrupt for gen9+ only (Paulo)
          -Enable flip done interrupt in power_well_post_enable hook (Paulo)
          -Removed the event check in flip done handler to handle async
           flips without pageflip events.
      
      v3: -Move skl_disable_flip_done out of interrupt handler (Paulo)
          -Make the pending vblank event NULL in the beginning of
           flip_done_handler to remove sporadic WARN_ON that is seen.
      
      v4: -Calculate timestamps using flip done time stamp and current
           timestamp for async flips (Ville)
      
      v5: -Fix the sparse warning by making the function 'g4x_get_flip_counter'
           static.(Reported-by: kernel test robot <lkp@intel.com>)
          -Fix the typo in commit message.
      
      v6: -Revert back to old time stamping code.
          -Remove the break while calling skl_enable_flip_done. (Paulo)
      
      v7: -Rebased.
      
      v8: -Rebased.
      
      v9: -Use struct drm_i915_private *i915 in new code. (Ville)
          -Use intel_crtc instead of drm_crtc. (Ville)
          -Do not mix the flip done and vblank hooks. (Ville)
      
      v10: -Rebased.
      Signed-off-by: NKarthik B S <karthik.b.s@intel.com>
      Signed-off-by: NVandita Kulkarni <vandita.kulkarni@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200921110210.21182-2-karthik.b.s@intel.com
      1288f9b0
  11. 15 9月, 2020 5 次提交
  12. 07 9月, 2020 1 次提交
  13. 14 7月, 2020 2 次提交
  14. 26 6月, 2020 1 次提交
  15. 16 6月, 2020 1 次提交
  16. 15 6月, 2020 1 次提交