mbox series

[v2,00/14] drm/i915: mem/fsb/rawclk freq cleanups

Message ID cover.1717672515.git.jani.nikula@intel.com (mailing list archive)
Headers show
Series drm/i915: mem/fsb/rawclk freq cleanups | expand

Message

Jani Nikula June 6, 2024, 11:15 a.m. UTC
v2 of https://lore.kernel.org/r/cover.1716906179.git.jani.nikula@intel.com

Jani Nikula (14):
  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/gt: remove mem freq from gt debugfs
  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()
  drm/i915: move comments about FSB straps to proper place

 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    |  80 ++-----
 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_gt_pm_debugfs.c |   1 -
 drivers/gpu/drm/i915/gt/intel_rps.c           |  11 +-
 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         | 212 +++++++++++-------
 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 -
 18 files changed, 176 insertions(+), 198 deletions(-)

Comments

Ville Syrjälä June 7, 2024, 11:48 a.m. UTC | #1
On Thu, Jun 06, 2024 at 02:15:52PM +0300, Jani Nikula wrote:
> v2 of https://lore.kernel.org/r/cover.1716906179.git.jani.nikula@intel.com
> 
> Jani Nikula (14):
>   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/gt: remove mem freq from gt debugfs
>   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 from runtime to display runtime info
>   drm/xe/display: drop unused rawclk_freq and RUNTIME_INFO()
>   drm/i915: move comments about FSB straps to proper place

Above are
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

>   drm/i915: move rawclk init to intel_cdclk_init()

We need rawclk_freq quite early for the power well stuff on
VLV/CHV. But CI already said as much.

> 
>  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    |  80 ++-----
>  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_gt_pm_debugfs.c |   1 -
>  drivers/gpu/drm/i915/gt/intel_rps.c           |  11 +-
>  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         | 212 +++++++++++-------
>  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 -
>  18 files changed, 176 insertions(+), 198 deletions(-)
> 
> -- 
> 2.39.2