[Intel-gfx] [PATCH 0/7] drm/i915: split out function structs from i915_drv.h

Jani Nikula jani.nikula at intel.com
Thu Feb 3 14:02:26 UTC 2022


Most of the structs can be hidden away.

Jani Nikula (7):
  drm/i915: group i915_drv.h forward declarations together
  drm/i915/color: hide struct intel_color_funcs
  drm/i915/hpd: hide struct intel_hotplug_funcs
  drm/i915/fdi: hide struct intel_fdi_funcs
  drm/i915/dpll: add intel_dpll_crtc_compute_clock()
  drm/i915/dpll: hide struct intel_dpll_funcs
  drm/i915/pm: hide struct drm_i915_clock_gating_funcs

 drivers/gpu/drm/i915/display/intel_color.c   | 19 +++++
 drivers/gpu/drm/i915/display/intel_display.c |  2 +-
 drivers/gpu/drm/i915/display/intel_dpll.c    | 12 +++
 drivers/gpu/drm/i915/display/intel_dpll.h    |  1 +
 drivers/gpu/drm/i915/display/intel_fdi.c     |  5 ++
 drivers/gpu/drm/i915/display/intel_hotplug.c |  7 +-
 drivers/gpu/drm/i915/i915_drv.h              | 86 ++++++--------------
 drivers/gpu/drm/i915/i915_irq.c              | 10 +++
 drivers/gpu/drm/i915/i915_irq.h              |  1 +
 drivers/gpu/drm/i915/intel_pm.c              |  4 +
 10 files changed, 78 insertions(+), 69 deletions(-)

-- 
2.30.2



More information about the Intel-gfx mailing list