]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Select DPLL's via mask
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 8 Oct 2019 17:29:20 +0000 (10:29 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 9 Oct 2019 15:33:28 +0000 (08:33 -0700)
commit4dc8b586cc77af50e1918828472e41250cd43f65
treeb67c69e21940e6ca7e061e64e921be9921104493
parentf55d98a394fa874110e0ed97a4a5a0738f0862bf
drm/i915: Select DPLL's via mask

This slightly simplifies the EHL DPLL4 handling and also gives us more
flexibility in the future in case we need to skip the use of specific
PLL's (e.g., due to hardware workarounds and such).

v2:
 - Replace GENMASK() with or'd BIT()'s to make the specific DPLLs more
   explicit.  (Ville)
 - s/unsigned/unsigned long/.  (Lucas)

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191008172920.11362-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_dpll_mgr.c