[PATCH 00/10] drm/i915/wm: legacy watermark code shuffling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In short, move all watermark code out of intel_pm.c, and sprinkle a
bunch of cleanups around it.

Jani Nikula (10):
  drm/i915: move memory frequency detection to intel_dram.c
  drm/i915/wm: move remaining watermark code out of intel_pm.c
  drm/i915/wm: move functions to call watermark hooks to intel_wm.[ch]
  drm/i915/wm: add .get_hw_state to watermark funcs
  drm/i915/wm: move watermark sanitization to intel_wm.[ch]
  drm/i915/wm: s/intel_wm_num_levels/g4x_wm_num_levels/
  drm/i915/wm: add *_wm_num_levels() functions
  drm/i915/wm: convert from ilk_wm_max_level() to
    {intel,skl}_wm_num_levels()
  drm/i915/wm: move watermark debugfs to intel_wm.c
  drm/i915: rename intel_pm_types.h -> display/intel_wm_types.h

 drivers/gpu/drm/i915/Makefile                 |    2 +
 drivers/gpu/drm/i915/display/i9xx_wm.c        | 3971 ++++++++++++++++
 drivers/gpu/drm/i915/display/i9xx_wm.h        |   20 +
 drivers/gpu/drm/i915/display/intel_display.c  |  223 +-
 drivers/gpu/drm/i915/display/intel_display.h  |    2 +
 .../gpu/drm/i915/display/intel_display_core.h |    3 +-
 .../drm/i915/display/intel_display_debugfs.c  |  238 +-
 .../drm/i915/display/intel_display_types.h    |   13 +-
 .../drm/i915/display/intel_modeset_setup.c    |   15 +-
 drivers/gpu/drm/i915/display/intel_wm.c       |  541 +++
 drivers/gpu/drm/i915/display/intel_wm.h       |   39 +
 .../intel_wm_types.h}                         |    6 +-
 drivers/gpu/drm/i915/display/skl_watermark.c  |   90 +-
 drivers/gpu/drm/i915/display/skl_watermark.h  |    6 +-
 drivers/gpu/drm/i915/gt/intel_rps.c           |   29 -
 drivers/gpu/drm/i915/intel_pm.c               | 4180 +----------------
 drivers/gpu/drm/i915/intel_pm.h               |   14 -
 drivers/gpu/drm/i915/soc/intel_dram.c         |  158 +-
 18 files changed, 4860 insertions(+), 4690 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/i9xx_wm.c
 create mode 100644 drivers/gpu/drm/i915/display/i9xx_wm.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_wm.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_wm.h
 rename drivers/gpu/drm/i915/{intel_pm_types.h => display/intel_wm_types.h} (93%)

-- 
2.34.1




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux