[PATCH 00/21] drm/i915: the great header refactoring, part two

Jani Nikula
2019-04-29T12:27:27Z

Continue the header refactoring started in part one [1].

BR,
Jani.

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

Jani Nikula (21):
drm/i915: ensure more headers remain self-contained
drm/i915: make intel_bios.h self-contained
drm/i915/dvo: rename dvo.h to intel_dvo_dev.h and make self-contained
drm/i915: make intel_dpll_mgr.h self-contained
drm/i915: move dsi init functions to intel_dsi.h
drm/i915: extract intel_fifo_underrun.h from intel_drv.h
drm/i915: extract intel_dp_link_training.h from intel_drv.h
drm/i915: extract intel_dp_aux_backlight.h from intel_drv.h
drm/i915: extract i915_irq.h from intel_drv.h and i915_drv.h
drm/i915: extract intel_hotplug.h from intel_drv.h and i915_drv.h
drm/i915: extract intel_bios.h functions from i915_drv.h
drm/i915: extract intel_quirks.h from intel_drv.h
drm/i915: extract intel_overlay.h from intel_drv.h and i915_drv.h
drm/i915: extract intel_vdsc.h from intel_drv.h and i915_drv.h
drm/i915: extract intel_dp_mst.h from intel_drv.h
drm/i915: extract intel_dsi_dcs_backlight.h from intel_drv.h
drm/i915: extract intel_atomic.h from intel_drv.h
drm/i915: extract intel_runtime_pm.h from intel_drv.h
drm/i915: move some leftovers to intel_pm.h from i915_drv.h
drm/i915: extract intel_combo_phy.h from i915_drv.h
drm/i915: add single combo phy init/unit functions

drivers/gpu/drm/i915/Makefile.header-test | 23 +-
drivers/gpu/drm/i915/dvo_ch7017.c | 3 +-
drivers/gpu/drm/i915/dvo_ch7xxx.c | 3 +-
drivers/gpu/drm/i915/dvo_ivch.c | 3 +-
drivers/gpu/drm/i915/dvo_ns2501.c | 5 +-
drivers/gpu/drm/i915/dvo_sil164.c | 3 +-
drivers/gpu/drm/i915/dvo_tfp410.c | 3 +-
drivers/gpu/drm/i915/gt/intel_reset.c | 2 +
drivers/gpu/drm/i915/i915_debugfs.c | 1 +
drivers/gpu/drm/i915/i915_drv.c | 3 +
drivers/gpu/drm/i915/i915_drv.h | 118 +---------
drivers/gpu/drm/i915/i915_gpu_error.c | 4 +-
drivers/gpu/drm/i915/i915_irq.c | 3 +
drivers/gpu/drm/i915/i915_irq.h | 114 +++++++++
drivers/gpu/drm/i915/i915_pmu.c | 3 +-
drivers/gpu/drm/i915/i915_sysfs.c | 3 +-
drivers/gpu/drm/i915/i915_trace.h | 1 +
drivers/gpu/drm/i915/icl_dsi.c | 1 +
drivers/gpu/drm/i915/intel_atomic.c | 12 +
drivers/gpu/drm/i915/intel_atomic.h | 49 ++++
drivers/gpu/drm/i915/intel_bios.h | 21 ++
drivers/gpu/drm/i915/intel_combo_phy.c | 25 +-
drivers/gpu/drm/i915/intel_combo_phy.h | 14 ++
drivers/gpu/drm/i915/intel_crt.c | 2 +
drivers/gpu/drm/i915/intel_ddi.c | 4 +
drivers/gpu/drm/i915/intel_display.c | 6 +
drivers/gpu/drm/i915/intel_dp.c | 6 +
drivers/gpu/drm/i915/intel_dp_aux_backlight.c | 1 +
drivers/gpu/drm/i915/intel_dp_aux_backlight.h | 13 ++
drivers/gpu/drm/i915/intel_dp_link_training.c | 1 +
drivers/gpu/drm/i915/intel_dp_link_training.h | 14 ++
drivers/gpu/drm/i915/intel_dp_mst.c | 2 +
drivers/gpu/drm/i915/intel_dp_mst.h | 14 ++
drivers/gpu/drm/i915/intel_dpll_mgr.c | 1 +
drivers/gpu/drm/i915/intel_dpll_mgr.h | 8 +-
drivers/gpu/drm/i915/intel_drv.h | 218 ------------------
drivers/gpu/drm/i915/intel_dsi.h | 4 +
.../gpu/drm/i915/intel_dsi_dcs_backlight.c | 8 +-
.../gpu/drm/i915/intel_dsi_dcs_backlight.h | 13 ++
drivers/gpu/drm/i915/intel_dvo.c | 2 +-
.../gpu/drm/i915/{dvo.h => intel_dvo_dev.h} | 10 +-
drivers/gpu/drm/i915/intel_fifo_underrun.c | 1 +
drivers/gpu/drm/i915/intel_fifo_underrun.h | 27 +++
drivers/gpu/drm/i915/intel_hdmi.c | 3 +
drivers/gpu/drm/i915/intel_hotplug.h | 30 +++
drivers/gpu/drm/i915/intel_lvds.c | 1 +
drivers/gpu/drm/i915/intel_overlay.c | 4 +-
drivers/gpu/drm/i915/intel_overlay.h | 29 +++
drivers/gpu/drm/i915/intel_panel.c | 2 +
drivers/gpu/drm/i915/intel_pipe_crc.c | 1 +
drivers/gpu/drm/i915/intel_pm.c | 8 +
drivers/gpu/drm/i915/intel_pm.h | 10 +
drivers/gpu/drm/i915/intel_quirks.c | 1 +
drivers/gpu/drm/i915/intel_quirks.h | 13 ++
drivers/gpu/drm/i915/intel_runtime_pm.c | 13 +-
drivers/gpu/drm/i915/intel_runtime_pm.h | 105 +++++++++
drivers/gpu/drm/i915/intel_sdvo.c | 3 +
drivers/gpu/drm/i915/intel_tv.c | 1 +
drivers/gpu/drm/i915/intel_vdsc.c | 2 +
drivers/gpu/drm/i915/intel_vdsc.h | 21 ++
drivers/gpu/drm/i915/vlv_dsi.c | 2 +
61 files changed, 655 insertions(+), 366 deletions(-)
create mode 100644 drivers/gpu/drm/i915/i915_irq.h
create mode 100644 drivers/gpu/drm/i915/intel_atomic.h
create mode 100644 drivers/gpu/drm/i915/intel_combo_phy.h
create mode 100644 drivers/gpu/drm/i915/intel_dp_aux_backlight.h
create mode 100644 drivers/gpu/drm/i915/intel_dp_link_training.h
create mode 100644 drivers/gpu/drm/i915/intel_dp_mst.h
create mode 100644 drivers/gpu/drm/i915/intel_dsi_dcs_backlight.h
rename drivers/gpu/drm/i915/{dvo.h => intel_dvo_dev.h} (97%)
create mode 100644 drivers/gpu/drm/i915/intel_fifo_underrun.h
create mode 100644 drivers/gpu/drm/i915/intel_hotplug.h
create mode 100644 drivers/gpu/drm/i915/intel_overlay.h
create mode 100644 drivers/gpu/drm/i915/intel_quirks.h
create mode 100644 drivers/gpu/drm/i915/intel_runtime_pm.h
create mode 100644 drivers/gpu/drm/i915/intel_vdsc.h