1. 01 7月, 2019 1 次提交
    • I
      drm/i915: Sanitize the shared DPLL reserve/release interface · 866955fa
      Imre Deak 提交于
      For consistency s/intel_get_shared_dpll()/intel_reserve_shared_dplls()/
      to better match intel_release_shared_dplls(). Also, pass to the
      reserve/release and get_dplls/put_dplls hooks the intel_atomic_state and
      CRTC object, that way these functions can look up the old or new state
      as needed.
      
      Also release the PLLs from the atomic state via a new
      put_dplls->intel_unreference_shared_dpll() call chain for better
      symmetry with the reservation via the
      get_dplls->intel_reference_shared_dpll() call chain.
      
      Since nothing uses the PLL returned by intel_reserve_shared_dplls(),
      make it return only a bool.
      
      While at it also clarify the reserve/release function docbook headers
      making it clear that multiple DPLLs will be reserved/released and
      whether the new or old atomic CRTC state is affected.
      
      This refactoring is also a preparation for a follow-up change that needs
      to reserve multiple DPLLs.
      
      Kudos to Ville for the idea to pass intel_atomic_state around, to make
      things clearer locally where an object's old/new atomic state is
      required.
      
      No functional changes.
      
      v2:
      - Fix checkpatch issue: typo in code comment.
      v3:
      - Rebase on drm-tip.
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      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/20190628143635.22066-17-imre.deak@intel.com
      866955fa
  2. 17 6月, 2019 1 次提交
  3. 10 6月, 2019 1 次提交
  4. 04 6月, 2019 1 次提交
  5. 30 4月, 2019 1 次提交
  6. 19 3月, 2019 2 次提交
  7. 30 1月, 2019 1 次提交
  8. 17 1月, 2019 1 次提交
  9. 17 10月, 2018 2 次提交
  10. 05 10月, 2018 1 次提交
  11. 04 9月, 2018 1 次提交
  12. 22 6月, 2018 1 次提交
  13. 15 6月, 2018 1 次提交
  14. 02 6月, 2018 1 次提交
  15. 08 5月, 2018 1 次提交
    • P
      drm/i915/icl: add basic support for the ICL clocks · c27e917e
      Paulo Zanoni 提交于
      This commit introduces the definitions for the ICL clocks and adds the
      basic functions to the shared DPLL framework. It adds code for the
      Enable and Disable sequences for some PLLs, but it does not have the
      code to compute the actual PLL values, which are marked as TODO
      comments and should be introduced as separate commits.
      
      Special thanks to James Ausmus for investigating and fixing a bug with
      the placement of icl_unmap_plls_to_ports() function.
      
      v2:
       - Rebase around dpll_lock changes.
      v3:
       - The spec now says what the timeouts should be.
       - Touch DPCLKA_CFGCR0_ICL at the appropriate time so we don't freeze
         the machine.
       - Checkpatch found a white space problem.
       - Small adjustments before upstreaming.
      v4:
       - Move the ICL checks out of the *map_plls_to_ports() functions
        (James)
       - Add extra encoder check (James)
       - Call icl_unmap_plls_to_ports() later (James)
      v5:
       - Rebase after the pll struct changes.
      v6:
       - Properly make the unmap function based on encoders_post_disable()
         with regarding to checks and iterators.
       - Address checkpatch comment on "min = max = x()".
      
      Cc: James Ausmus <james.ausmus@intel.com>
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NJames Ausmus <james.ausmus@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180427231436.9353-1-paulo.r.zanoni@intel.com
      c27e917e
  16. 28 3月, 2018 7 次提交
  17. 13 6月, 2017 1 次提交
  18. 10 2月, 2017 1 次提交
  19. 30 12月, 2016 6 次提交
  20. 10 9月, 2016 1 次提交
  21. 08 9月, 2016 3 次提交
  22. 17 3月, 2016 1 次提交
  23. 09 3月, 2016 3 次提交