mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
skl_compute_wrpll: Prefer even dividers
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
b3ef2986ca
commit
cb57cdc632
@ -431,6 +431,13 @@ skl_ddi_calculate_wrpll2(int clock /* in Hz */,
|
||||
dco_freq,
|
||||
p);
|
||||
}
|
||||
|
||||
/*
|
||||
* If a solution is found with an even divider, prefer
|
||||
* this one.
|
||||
*/
|
||||
if (d == 0 && ctx.p)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user