]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/dpll: Rename intel_dpll
authorSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 15 May 2025 07:17:48 +0000 (12:47 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 20 May 2025 08:04:02 +0000 (13:34 +0530)
Rename intel_dpll to intel_dpll_global so that intel_shared_dpll
can be renamed to intel_dpll in an effort to move away from the shared
naming convention.
Also intel_dpll according to it's comment tracks global dpll rather
than individual hence making more sense this gets changed.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20250515071801.2221120-2-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_display_core.h

index b4937e1023606a80b27a6c2d50a0b82eb66454f1..6fc213f84e73e9ab7838e5655c5a91448ea78e99 100644 (file)
@@ -122,7 +122,7 @@ struct intel_audio {
  * intel_{prepare,enable,disable}_shared_dpll.  Must be global rather than per
  * dpll, because on some platforms plls share registers.
  */
-struct intel_dpll {
+struct intel_dpll_global {
        struct mutex lock;
 
        int num_shared_dpll;
@@ -570,7 +570,7 @@ struct intel_display {
        /* Grouping using named structs. Keep sorted. */
        struct drm_dp_tunnel_mgr *dp_tunnel_mgr;
        struct intel_audio audio;
-       struct intel_dpll dpll;
+       struct intel_dpll_global dpll;
        struct intel_fbc *fbc[I915_MAX_FBCS];
        struct intel_frontbuffer_tracking fb_tracking;
        struct intel_hotplug hotplug;