[Intel-gfx] [PATCH 0/7] drm/i915/regs: split display regs by function

Jani Nikula jani.nikula at intel.com
Thu Mar 16 13:29:29 UTC 2023


Shave off 1.2k lines from i915_reg.h.

Jani Nikula (7):
  drm/i915/pps: split out PPS regs to a separate file
  drm/i915/tv: split out TV regs to a separate file
  drm/i915/aux: split out DP AUX regs to a separate file
  drm/i915/fdi: split out FDI regs to a separate file
  drm/i915/wm: split out SKL+ watermark regs to a separate file
  drm/i915/psr: split out PSR regs to a separate file
  drm/i915/dsb: split out DSB regs to a separate file

 drivers/gpu/drm/i915/display/intel_crt.c      |    1 +
 .../drm/i915/display/intel_display_debugfs.c  |    1 +
 .../drm/i915/display/intel_display_power.c    |    2 +
 .../i915/display/intel_display_power_well.c   |    1 +
 drivers/gpu/drm/i915/display/intel_dp_aux.c   |    1 +
 .../gpu/drm/i915/display/intel_dp_aux_regs.h  |   84 ++
 drivers/gpu/drm/i915/display/intel_dsb.c      |    1 +
 drivers/gpu/drm/i915/display/intel_dsb_regs.h |   67 +
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c  |    1 +
 drivers/gpu/drm/i915/display/intel_fdi.c      |    1 +
 drivers/gpu/drm/i915/display/intel_fdi_regs.h |  151 ++
 drivers/gpu/drm/i915/display/intel_lvds.c     |    1 +
 .../gpu/drm/i915/display/intel_pch_display.c  |    1 +
 drivers/gpu/drm/i915/display/intel_pps.c      |    1 +
 drivers/gpu/drm/i915/display/intel_pps_regs.h |   78 ++
 drivers/gpu/drm/i915/display/intel_psr.c      |    1 +
 drivers/gpu/drm/i915/display/intel_psr_regs.h |  260 ++++
 drivers/gpu/drm/i915/display/intel_tv.c       |    3 +-
 drivers/gpu/drm/i915/display/intel_tv_regs.h  |  490 +++++++
 drivers/gpu/drm/i915/display/skl_watermark.c  |    1 +
 .../gpu/drm/i915/display/skl_watermark_regs.h |  165 +++
 drivers/gpu/drm/i915/gvt/edid.c               |    1 +
 drivers/gpu/drm/i915/gvt/handlers.c           |    5 +
 drivers/gpu/drm/i915/i915_irq.c               |    2 +
 drivers/gpu/drm/i915/i915_reg.h               | 1219 -----------------
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   |    4 +
 26 files changed, 1323 insertions(+), 1220 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_aux_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_dsb_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_fdi_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_pps_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_psr_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_tv_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/skl_watermark_regs.h

-- 
2.39.2



More information about the Intel-gfx mailing list