[Intel-gfx] [RFC 0/3] drm/i915/dmc: allocate dmc struct dynamically

Jani Nikula jani.nikula at intel.com
Thu Feb 2 20:47:45 UTC 2023


Allocate the >1k dmc struct dynamically, only for platforms that need
it.

Jani Nikula (3):
  drm/i915/power: move dc state members to struct i915_power_domains
  drm/i915/dmc: drop "ucode" from function names
  drm/i915/dmc: allocate dmc structure dynamically

 drivers/gpu/drm/i915/display/intel_display.c  |   6 +-
 .../gpu/drm/i915/display/intel_display_core.h |   8 +-
 .../drm/i915/display/intel_display_power.c    |  25 +--
 .../drm/i915/display/intel_display_power.h    |   4 +
 .../i915/display/intel_display_power_well.c   |  31 ++--
 drivers/gpu/drm/i915/display/intel_dmc.c      | 159 ++++++++++++------
 drivers/gpu/drm/i915/display/intel_dmc.h      |  44 +----
 .../drm/i915/display/intel_modeset_setup.c    |   1 +
 drivers/gpu/drm/i915/display/intel_psr.c      |   3 +-
 drivers/gpu/drm/i915/i915_driver.c            |   6 +-
 10 files changed, 164 insertions(+), 123 deletions(-)

-- 
2.34.1



More information about the Intel-gfx mailing list