[Intel-gfx] [PATCH 00/13] drm/i915: the great header refactoring, part three

Jani Nikula jani.nikula at intel.com
Thu May 2 15:02:34 UTC 2019


Continue the header refactoring started in [1] and [2].

BR,
Jani.

[1] https://patchwork.freedesktop.org/series/59022/
[2] https://patchwork.freedesktop.org/series/60060/

Jani Nikula (13):
  drm/i915/dvo: move DVO chip types to intel_dvo.c
  drm/i915/dsi: move operation mode types to intel_dsi.h
  drm/i915: move ranges to intel_display.c
  drm/i915: remove unused/stale macros and comments from intel_drv.h
  drm/i915/csr: move CSR version macros to intel_csr.h
  drm/i915: extract intel_dpio_phy.h from i915_drv.h
  drm/i915: extract intel_lpe_audio.h from i915_drv.h
  drm/i915: extract intel_acpi.h from i915_drv.h
  drm/i915: extract i915_debugfs.h from i915_drv.h
  drm/i915: move i915_vgacntrl_reg() where needed
  drm/i915: make i915_utils.h self-contained
  drm/i915: move more generic utils to i915_utils.h
  drm/i915: extract intel_gmbus.h from i915_drv.h and rename intel_i2c.c

 drivers/gpu/drm/i915/Makefile                 |   2 +-
 drivers/gpu/drm/i915/Makefile.header-test     |   6 +
 drivers/gpu/drm/i915/i915_debugfs.c           |   2 +
 drivers/gpu/drm/i915/i915_debugfs.h           |  20 +++
 drivers/gpu/drm/i915/i915_drv.c               |   8 +-
 drivers/gpu/drm/i915/i915_drv.h               | 145 ----------------
 drivers/gpu/drm/i915/i915_gpu_error.c         |   1 +
 drivers/gpu/drm/i915/i915_irq.c               |   1 +
 drivers/gpu/drm/i915/i915_suspend.c           |   3 +-
 drivers/gpu/drm/i915/i915_utils.h             | 159 +++++++++++++++++-
 drivers/gpu/drm/i915/intel_acpi.c             |   3 +
 drivers/gpu/drm/i915/intel_acpi.h             |  17 ++
 drivers/gpu/drm/i915/intel_audio.c            |   2 +-
 drivers/gpu/drm/i915/intel_bios.c             |   2 +
 drivers/gpu/drm/i915/intel_crt.c              |   1 +
 drivers/gpu/drm/i915/intel_csr.h              |   4 +
 drivers/gpu/drm/i915/intel_ddi.c              |   2 +
 drivers/gpu/drm/i915/intel_display.c          |  29 +++-
 drivers/gpu/drm/i915/intel_dp.c               |   2 +
 drivers/gpu/drm/i915/intel_dp_mst.c           |   1 +
 drivers/gpu/drm/i915/intel_dpio_phy.c         |   1 +
 drivers/gpu/drm/i915/intel_dpio_phy.h         |  58 +++++++
 drivers/gpu/drm/i915/intel_dpll_mgr.c         |   1 +
 drivers/gpu/drm/i915/intel_drv.h              | 140 ---------------
 drivers/gpu/drm/i915/intel_dsi.h              |   3 +
 drivers/gpu/drm/i915/intel_dvo.c              |   6 +
 .../drm/i915/{intel_i2c.c => intel_gmbus.c}   |  27 ++-
 drivers/gpu/drm/i915/intel_gmbus.h            |  27 +++
 drivers/gpu/drm/i915/intel_hdmi.c             |   3 +
 drivers/gpu/drm/i915/intel_lpe_audio.c        |   8 +-
 drivers/gpu/drm/i915/intel_lpe_audio.h        |  22 +++
 drivers/gpu/drm/i915/intel_lvds.c             |   1 +
 drivers/gpu/drm/i915/intel_pipe_crc.h         |   3 +
 drivers/gpu/drm/i915/intel_runtime_pm.c       |   1 +
 drivers/gpu/drm/i915/intel_sdvo.c             |   1 +
 35 files changed, 408 insertions(+), 304 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_debugfs.h
 create mode 100644 drivers/gpu/drm/i915/intel_acpi.h
 create mode 100644 drivers/gpu/drm/i915/intel_dpio_phy.h
 rename drivers/gpu/drm/i915/{intel_i2c.c => intel_gmbus.c} (98%)
 create mode 100644 drivers/gpu/drm/i915/intel_gmbus.h
 create mode 100644 drivers/gpu/drm/i915/intel_lpe_audio.h

-- 
2.20.1



More information about the Intel-gfx mailing list