mbox series

[0/4] Update bxt_sanitize_cdclk() for Xe2_LPD

Message ID 20240104032150.118954-1-gustavo.sousa@intel.com (mailing list archive)
Headers show
Series Update bxt_sanitize_cdclk() for Xe2_LPD | expand

Message

Gustavo Sousa Jan. 4, 2024, 3:21 a.m. UTC
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.

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(-)