drm/i915/cx0: Add a fuzzy check for DP/HDMI clock rates during programming

Since the clock rate is derived from the PLL divider values it can have
a +-1kHz difference wrt. the reference rates in the comparison

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260119093757.2850233-11-mika.kahola@intel.com
This commit is contained in:
Mika Kahola 2026-01-19 09:37:51 +00:00
commit 50ad932880
2 changed files with 16 additions and 11 deletions