This is a rewitten version of [1]. I think it's good progress overall though there are still minor issues here and there. BR, Jani. [1] https://lore.kernel.org/all/20240408172315.3418692-1-jani.nikula@xxxxxxxxx/ Jani Nikula (12): drm/i915/wm: rename intel_get_cxsr_latency -> pnv_get_cxsr_latency drm/i915/wm: clarify logging on not finding CxSR latency config drm/i915/dram: separate fsb freq detection from mem freq drm/i915/dram: split out pnv DDR3 detection drm/i915/dram: rearrange mem freq init drm/i915: convert fsb_freq and mem_freq to kHz drm/i915: extend the fsb_freq initialization to more platforms drm/i915: use i9xx_fsb_freq() for GT clock frequency drm/i915/cdclk: use i9xx_fsb_freq() for rawclk_freq initialization drm/i915: move rawclk init to intel_cdclk_init() drm/i915: move rawclk from runtime to display runtime info drm/xe/display: drop unused rawclk_freq and RUNTIME_INFO() drivers/gpu/drm/i915/display/i9xx_wm.c | 27 ++- .../gpu/drm/i915/display/intel_backlight.c | 10 +- drivers/gpu/drm/i915/display/intel_cdclk.c | 69 ++---- drivers/gpu/drm/i915/display/intel_cdclk.h | 1 - .../drm/i915/display/intel_display_device.c | 2 + .../drm/i915/display/intel_display_device.h | 2 + .../i915/display/intel_display_power_well.c | 4 +- drivers/gpu/drm/i915/display/intel_dp_aux.c | 4 +- drivers/gpu/drm/i915/display/intel_pps.c | 2 +- .../gpu/drm/i915/gt/intel_gt_clock_utils.c | 3 +- drivers/gpu/drm/i915/gt/intel_rps.c | 4 +- drivers/gpu/drm/i915/intel_device_info.c | 5 - drivers/gpu/drm/i915/intel_device_info.h | 2 - drivers/gpu/drm/i915/soc/intel_dram.c | 203 ++++++++++-------- drivers/gpu/drm/i915/soc/intel_dram.h | 1 + .../gpu/drm/xe/compat-i915-headers/i915_drv.h | 1 - drivers/gpu/drm/xe/xe_device_types.h | 6 - 17 files changed, 164 insertions(+), 182 deletions(-) -- 2.39.2