]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Enhance cdclk sanitization
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 10 Sep 2019 15:42:51 +0000 (08:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 11 Sep 2019 03:37:12 +0000 (20:37 -0700)
commit2d4dfe8eec5e324a624bded4aacd02a0bd2110fe
tree6149cd71ec4995464414f690c56410d54e4f604f
parent437b845225925b1fa42f313aa89516920edd183a
drm/i915: Enhance cdclk sanitization

When reading out the BIOS-programmed cdclk state, let's make sure that
the cdclk value is on the valid list for the platform, ensure that the
VCO matches the cdclk, and ensure that the CD2X divider was set
properly.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190910154252.30503-8-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c