diff options
| author | Mika Kahola <mika.kahola@intel.com> | 2026-01-19 12:37:49 +0300 |
|---|---|---|
| committer | Mika Kahola <mika.kahola@intel.com> | 2026-01-20 11:52:54 +0300 |
| commit | 920fa5d920c362a2e57ffec7bb39b5c25bc59610 (patch) | |
| tree | 6b933716e32ac6ccabc68a8528f9ca3cb66b9de7 /include/linux/debugobjects.h | |
| parent | cf0635d40af0029ed5f600f366a395df3c58a19b (diff) | |
| download | linux-920fa5d920c362a2e57ffec7bb39b5c25bc59610.tar.xz | |
drm/i915/display: Add helper function for fuzzy clock check
The hard coded clock rate stored in the PLL state will be removed by
a follow-up change. The clock is calculated instead of
using clock from the PLL divider values. Since this calculated clock
may vary due to fixed point rounding issues, a +-1 kHz variation is
allowed with the request clock rate against the calculated clock rate.
v2:
- Use the stricter +-1 kHz allowed difference.
- Derive the clock from PLL dividers in intel_cx0pll_enable().
- Move corresponding fuzzy check for LT PHY PLLs to this patch.
v3: Reword commit message (Suraj)
Move clock check to intel_dpll and rename it (Suraj)
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260119093757.2850233-9-mika.kahola@intel.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
