]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pick the first unused PLL once again
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 30 Jan 2019 18:13:59 +0000 (20:13 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 31 Jan 2019 07:46:02 +0000 (09:46 +0200)
commit5640f5da7a83dca118aaa76bc641a7dae6b76659
tree22dd6ef82b76b95ce3f0f1edb1efba27dfa295ec
parent9e3d0f985d6d54fae99e6256744c3e5f62be45a1
drm/i915: Pick the first unused PLL once again

commit c285e919ed3a ("drm/i915/icl: keep track of unused pll while
looping") inadvertently (I presume) changed the code to pick the
last unused dpll rather than the first unused one like we did before.

While there should most likely be no harm in changing the order
let's change back just to avoid a change in the behaviour. At
least it might reduce the confusion when staring at logs (took
me a while to figure out why DPLL1 being picked over DPLL0
when the latter was most definitely available).

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190130181359.20693-1-ville.syrjala@linux.intel.com
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/i915/intel_dpll_mgr.c