]> 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)
commit2a86972f60fcfaa0daa02b9fe461935ea2063791
treeb67c69e21940e6ca7e061e64e921be9921104493
parentd50341274d013e80d80d33e03f4573a34f4d7277
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