intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/18] DPLL framework redesign
@ 2025-05-09  4:27 Suraj Kandpal
  2025-05-09  4:27 ` [PATCH 01/18] drm/i915/dpll: Rename intel_dpll Suraj Kandpal
                   ` (17 more replies)
  0 siblings, 18 replies; 42+ messages in thread
From: Suraj Kandpal @ 2025-05-09  4:27 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: ankit.k.nautiyal, arun.r.murthy, Suraj Kandpal

Since MTL we moved away from using our existing DPLL framework this
was done since the existing API didnt really work for us.
This Redesing is a first part of two part series which will
redesign the current framework so that it can be used for
PLL/PHY enablement going forward.
Here we move away from the shared_dpll naming and also
change arguments for some functions which are needed for PLL
which have individual PHY keeping in mind that we don't break
any of the legacy stuff. When this gets approved and merged a
second series hooking up the SNPS PHY PLL API to this framework
will be posted. This is done to reduce the rework in case the
current design floated ends up getting changed during the review
process.
We also rename some functions in intel_dpll_mgr to start with
intel_dpll_* in an effort to make sure all exported functions
have the filename at the start.

--v4
-Rebase

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Suraj Kandpal (18):
  drm/i915/dpll: Rename intel_dpll
  drm/i915/dpll: Rename intel_dpll_funcs
  drm/i915/dpll: Rename intel_shared_dpll_state
  drm/i915/dpll: Rename macro for_each_shared_dpll
  drm/i915/dpll: Rename intel_shared_dpll_funcs
  drm/i915/dpll: Rename intel_shared_dpll
  drm/i915/dpll: Move away from using shared dpll
  drm/i915/dpll: Rename crtc_get_shared_dpll
  drm/i915/dpll: Change argument for enable hook in intel_dpll_funcs
  drm/i915/drm: Rename disable hook in intel_dpll_global_func
  drm/i915/dpll: Introduce new hook in intel_dpll_funcs
  drm/i915/dpll: Add intel_encoder argument to get_hw_state hook
  drm/i915/dpll: Change arguments for get_freq hook
  drm/i915/dpll: Rename intel_[enable/disable]_dpll
  drm/i915/dpll: Rename intel_unreference_dpll__crtc
  drm/i915/dpll: Rename intel_<release/reserve>_dpll
  drm/i915/dpll: Rename intel_compute_dpll
  drm/i915/dpll: Rename intel_update_active_dpll

 drivers/gpu/drm/i915/display/icl_dsi.c        |   2 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      |  70 +-
 drivers/gpu/drm/i915/display/intel_ddi.h      |   6 +-
 drivers/gpu/drm/i915/display/intel_display.c  |  22 +-
 .../gpu/drm/i915/display/intel_display_core.h |  12 +-
 .../drm/i915/display/intel_display_debugfs.c  |   4 +-
 .../drm/i915/display/intel_display_driver.c   |   2 +-
 .../drm/i915/display/intel_display_types.h    |   8 +-
 drivers/gpu/drm/i915/display/intel_dpll.c     |  60 +-
 drivers/gpu/drm/i915/display/intel_dpll.h     |   4 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 768 +++++++++---------
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h |  83 +-
 drivers/gpu/drm/i915/display/intel_fdi.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_lvds.c     |   2 +-
 .../drm/i915/display/intel_modeset_setup.c    |  10 +-
 .../drm/i915/display/intel_modeset_verify.c   |   4 +-
 .../gpu/drm/i915/display/intel_pch_display.c  |  20 +-
 .../gpu/drm/i915/display/intel_pch_refclk.c   |   4 +-
 18 files changed, 552 insertions(+), 531 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 42+ messages in thread
* [PATCH 00/18] DPLL framework redesign
@ 2025-04-07  8:16 Suraj Kandpal
  2025-04-07  8:16 ` [PATCH 16/18] drm/i915/dpll: Rename intel_<release/reserve>_dpll Suraj Kandpal
  0 siblings, 1 reply; 42+ messages in thread
From: Suraj Kandpal @ 2025-04-07  8:16 UTC (permalink / raw)
  To: intel-xe, intel-gfx
  Cc: ankit.k.nautiyal, uma.shankar, jani.nikula, mika.kahola,
	ville.syrjala, Suraj Kandpal

Since MTL we moved away from using our existing DPLL framework this
was done since the existing API didnt really work for us.
This Redesing is a first part of two part series which will
redesign the current framework so that it can be used for
PLL/PHY enablement going forward.
Here we move away from the shared_dpll naming and also
change arguments for some functions which are needed for PLL
which have individual PHY keeping in mind that we don't break
any of the legacy stuff. When this gets approved and merged a
second series hooking up the SNPS PHY PLL API to this framework
will be posted. This is done to reduce the rework in case the
current design floated ends up getting changed during the review
process.
We also rename some functions in intel_dpll_mgr to start with
intel_dpll_* in an effort to make sure all exported functions
have the filename at the start.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Suraj Kandpal (18):
  drm/i915/dpll: Rename intel_dpll
  drm/i915/dpll: Rename intel_dpll_funcs
  drm/i915/dpll: Rename intel_shared_dpll_state
  drm/i915/dpll: Rename macro for_each_shared_dpll
  drm/i915/dpll: Rename intel_shared_dpll_funcs
  drm/i915/dpll: Rename intel_shared_dpll
  drm/i915/dpll: Move away from using shared dpll
  drm/i915/dpll: Rename crtc_get_shared_dpll
  drm/i915/dpll: Change argument for enable hook in intel_dpll_funcs
  drm/i915/drm: Rename disable hook in intel_dpll_global_func
  drm/i915/dpll: Introduce new hook in intel_dpll_funcs
  drm/i915/dpll: Add intel_encoder argument to get_hw_state hook
  drm/i915/dpll: Change arguments for get_freq hook
  drm/i915/dpll: Rename intel_[enable/disable]_dpll
  drm/i915/dpll: Rename intel_unreference_dpll__crtc
  drm/i915/dpll: Rename intel_<release/reserve>_dpll
  drm/i915/dpll: Rename intel_compute_dpll
  drm/i915/dpll: Rename intel_update_active_dpll

 drivers/gpu/drm/i915/display/icl_dsi.c        |   2 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      |  70 +-
 drivers/gpu/drm/i915/display/intel_ddi.h      |   6 +-
 drivers/gpu/drm/i915/display/intel_display.c  |  22 +-
 .../gpu/drm/i915/display/intel_display_core.h |  12 +-
 .../drm/i915/display/intel_display_debugfs.c  |   4 +-
 .../drm/i915/display/intel_display_driver.c   |   2 +-
 .../drm/i915/display/intel_display_types.h    |   8 +-
 drivers/gpu/drm/i915/display/intel_dpll.c     |  60 +-
 drivers/gpu/drm/i915/display/intel_dpll.h     |   4 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 768 +++++++++---------
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h |  83 +-
 drivers/gpu/drm/i915/display/intel_fdi.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_lvds.c     |   2 +-
 .../drm/i915/display/intel_modeset_setup.c    |  10 +-
 .../drm/i915/display/intel_modeset_verify.c   |   4 +-
 .../gpu/drm/i915/display/intel_pch_display.c  |  20 +-
 .../gpu/drm/i915/display/intel_pch_refclk.c   |   4 +-
 18 files changed, 552 insertions(+), 531 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2025-05-12  4:27 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09  4:27 [PATCH 00/18] DPLL framework redesign Suraj Kandpal
2025-05-09  4:27 ` [PATCH 01/18] drm/i915/dpll: Rename intel_dpll Suraj Kandpal
2025-05-09 10:04   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 02/18] drm/i915/dpll: Rename intel_dpll_funcs Suraj Kandpal
2025-05-09 10:05   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 03/18] drm/i915/dpll: Rename intel_shared_dpll_state Suraj Kandpal
2025-05-09 10:07   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 04/18] drm/i915/dpll: Rename macro for_each_shared_dpll Suraj Kandpal
2025-05-09 10:07   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 05/18] drm/i915/dpll: Rename intel_shared_dpll_funcs Suraj Kandpal
2025-05-09 10:08   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 06/18] drm/i915/dpll: Rename intel_shared_dpll Suraj Kandpal
2025-05-09 10:13   ` Jani Nikula
2025-05-12  4:00     ` Kandpal, Suraj
2025-05-09  4:27 ` [PATCH 07/18] drm/i915/dpll: Move away from using shared dpll Suraj Kandpal
2025-05-09 10:17   ` Jani Nikula
2025-05-12  4:02     ` Kandpal, Suraj
2025-05-09  4:27 ` [PATCH 08/18] drm/i915/dpll: Rename crtc_get_shared_dpll Suraj Kandpal
2025-05-09 10:19   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 09/18] drm/i915/dpll: Change argument for enable hook in intel_dpll_funcs Suraj Kandpal
2025-05-09 10:22   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 10/18] drm/i915/drm: Rename disable hook in intel_dpll_global_func Suraj Kandpal
2025-05-09 10:24   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 11/18] drm/i915/dpll: Introduce new hook in intel_dpll_funcs Suraj Kandpal
2025-05-09 10:25   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 12/18] drm/i915/dpll: Add intel_encoder argument to get_hw_state hook Suraj Kandpal
2025-05-09 10:25   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 13/18] drm/i915/dpll: Change arguments for get_freq hook Suraj Kandpal
2025-05-09 10:27   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 14/18] drm/i915/dpll: Rename intel_[enable/disable]_dpll Suraj Kandpal
2025-05-09 10:29   ` Jani Nikula
2025-05-12  3:19     ` Kandpal, Suraj
2025-05-09  4:27 ` [PATCH 15/18] drm/i915/dpll: Rename intel_unreference_dpll__crtc Suraj Kandpal
2025-05-09 10:31   ` Jani Nikula
2025-05-12  4:27     ` Kandpal, Suraj
2025-05-09  4:27 ` [PATCH 16/18] drm/i915/dpll: Rename intel_<release/reserve>_dpll Suraj Kandpal
2025-05-09 10:32   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 17/18] drm/i915/dpll: Rename intel_compute_dpll Suraj Kandpal
2025-05-09 10:33   ` Jani Nikula
2025-05-09  4:27 ` [PATCH 18/18] drm/i915/dpll: Rename intel_update_active_dpll Suraj Kandpal
2025-05-09 10:33   ` Jani Nikula
  -- strict thread matches above, loose matches on Subject: below --
2025-04-07  8:16 [PATCH 00/18] DPLL framework redesign Suraj Kandpal
2025-04-07  8:16 ` [PATCH 16/18] drm/i915/dpll: Rename intel_<release/reserve>_dpll Suraj Kandpal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).