drm/i915/skl: Make sure to break when not finding suitable PLL dividers
Right now, when finishing the cycle with odd dividers without finding a suitable candidate, we end up in an infinite loop. Make sure to break in that case. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
ea87549636
commit
6cf75178de
|
@ -1184,6 +1184,10 @@ found:
|
|||
}
|
||||
|
||||
if (min_dco_index > 2 && dco_count == 2) {
|
||||
/* oh well, we tried... */
|
||||
if (retry_with_odd)
|
||||
break;
|
||||
|
||||
retry_with_odd = true;
|
||||
dco_count = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue