This series fixes an issue observed during module load due to missing
bits in bxt_sanitize_cdclk() specific to Xe2_LPD.

The first patch contains the fix itself. The subsequent patches
refactor the code so that bxt_sanitize_cdclk() and _bxt_set_cdclk() use
the same function for deriving the value for CDCLK_CTL, hopefully making
it harder for the same kind of problem to happen again.

v2:
  - Improve bodies of commit messages to be more self-contained.

Gustavo Sousa (4):
  drm/i915/xe2lpd: Update bxt_sanitize_cdclk()
  drm/i915/cdclk: Extract bxt_cdclk_ctl()
  drm/i915/cdclk: Reorder bxt_sanitize_cdclk()
  drm/i915/cdclk: Re-use bxt_cdclk_ctl() when sanitizing

 drivers/gpu/drm/i915/display/intel_cdclk.c | 100 ++++++++++-----------
 1 file changed, 48 insertions(+), 52 deletions(-)

-- 
2.43.0

Reply via email to