[Intel-gfx] [PATCH 00/10] drm/i915: some more header juggling

Jani Nikula jani.nikula at intel.com
Tue Aug 6 10:07:21 UTC 2019


The big theme here is to emphasize that intel_drv.h is a display header, so
rename it display/intel_display_types.h and reduce its use in non-display
code. Also reduce the inclusion of that and the other mega header i915_drv.h
from other headers.

BR,
Jani.


Jani Nikula (10):
  drm/i915: move intel_display.c function declarations
  drm/i915/sprite: un-inline icl_is_hdr_plane()
  drm/i915/irq: un-inline functions to avoid i915_drv.h include
  drm/i915/bw: make intel_atomic_get_bw_state() static
  drm/i915/mst: un-inline intel_dp_mst_encoder_active_links()
  drm/i915/tc: un-inline intel_tc_port_ref_held()
  drm/i915: avoid including intel_drv.h via i915_drv.h->i915_trace.h
  drm/i915: rename intel_drv.h to display/intel_display_types.h
  drm/i915: remove unnecessary includes of intel_display_types.h header
  drm/i915: move property enums to intel_display_types.h

 drivers/gpu/drm/i915/display/dvo_ch7017.c     |   2 +-
 drivers/gpu/drm/i915/display/dvo_ch7xxx.c     |   2 +-
 drivers/gpu/drm/i915/display/dvo_ivch.c       |   2 +-
 drivers/gpu/drm/i915/display/dvo_ns2501.c     |   2 +-
 drivers/gpu/drm/i915/display/dvo_sil164.c     |   2 +-
 drivers/gpu/drm/i915/display/dvo_tfp410.c     |   2 +-
 drivers/gpu/drm/i915/display/intel_atomic.c   |   2 +-
 .../gpu/drm/i915/display/intel_atomic_plane.c |   3 +-
 drivers/gpu/drm/i915/display/intel_audio.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_bw.c       |  16 +-
 drivers/gpu/drm/i915/display/intel_bw.h       |  15 --
 drivers/gpu/drm/i915/display/intel_cdclk.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_color.c    |   2 +-
 .../gpu/drm/i915/display/intel_combo_phy.c    |   2 +-
 .../gpu/drm/i915/display/intel_connector.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_crt.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_display.c  |   4 +-
 drivers/gpu/drm/i915/display/intel_display.h  | 171 ++++++++++++++++++
 .../drm/i915/display/intel_display_power.c    |   2 +-
 .../intel_display_types.h}                    | 148 ++-------------
 drivers/gpu/drm/i915/display/intel_dp.c       |   3 +-
 .../drm/i915/display/intel_dp_aux_backlight.c |   2 +-
 .../drm/i915/display/intel_dp_link_training.c |   2 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |   8 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.h   |   9 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c |   2 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c |   2 +-
 drivers/gpu/drm/i915/display/intel_dsi.h      |   3 +-
 .../i915/display/intel_dsi_dcs_backlight.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_dvo.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_fbc.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c    |   2 +-
 .../drm/i915/display/intel_fifo_underrun.c    |   3 +-
 .../gpu/drm/i915/display/intel_frontbuffer.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c     |   2 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c     |   4 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c   |   2 +-
 drivers/gpu/drm/i915/display/intel_lvds.c     |   2 +-
 drivers/gpu/drm/i915/display/intel_opregion.c |   2 +-
 drivers/gpu/drm/i915/display/intel_overlay.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_panel.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c |   2 +-
 drivers/gpu/drm/i915/display/intel_psr.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_quirks.c   |   2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c     |   2 +-
 drivers/gpu/drm/i915/display/intel_sprite.c   |   9 +-
 drivers/gpu/drm/i915/display/intel_sprite.h   |   8 +-
 drivers/gpu/drm/i915/display/intel_tc.c       |   7 +
 drivers/gpu/drm/i915/display/intel_tc.h       |  10 +-
 drivers/gpu/drm/i915/display/intel_tv.c       |   2 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c     |   2 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c        |   2 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c    |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_clflush.c   |   1 +
 .../gpu/drm/i915/gem/i915_gem_client_blt.c    |   4 +-
 .../gpu/drm/i915/gem/i915_gem_execbuffer.c    |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c      |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c    |   1 +
 .../gpu/drm/i915/gem/i915_gem_object_blt.c    |   5 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c     |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c   |   3 +-
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c   |   1 +
 drivers/gpu/drm/i915/gt/intel_lrc.c           |   1 +
 drivers/gpu/drm/i915/gt/intel_reset.c         |   1 +
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c |   1 +
 drivers/gpu/drm/i915/i915_debugfs.c           |   3 +-
 drivers/gpu/drm/i915/i915_drv.c               |   2 +-
 drivers/gpu/drm/i915/i915_drv.h               |  30 +--
 drivers/gpu/drm/i915/i915_gem.c               |   1 -
 drivers/gpu/drm/i915/i915_gem.h               |   2 +
 drivers/gpu/drm/i915/i915_gem_evict.c         |   1 -
 drivers/gpu/drm/i915/i915_gem_gtt.c           |   1 -
 drivers/gpu/drm/i915/i915_irq.c               |  21 ++-
 drivers/gpu/drm/i915/i915_irq.h               |  30 +--
 drivers/gpu/drm/i915/i915_request.c           |   1 +
 drivers/gpu/drm/i915/i915_suspend.c           |   2 +-
 drivers/gpu/drm/i915/i915_sysfs.c             |   1 -
 drivers/gpu/drm/i915/i915_trace.h             |   2 +-
 drivers/gpu/drm/i915/i915_vgpu.c              |   1 -
 drivers/gpu/drm/i915/i915_vma.c               |   1 +
 drivers/gpu/drm/i915/intel_pm.c               |   3 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c       |   1 +
 drivers/gpu/drm/i915/intel_sideband.c         |   4 +-
 drivers/gpu/drm/i915/intel_uncore.c           |   2 +-
 88 files changed, 340 insertions(+), 297 deletions(-)
 rename drivers/gpu/drm/i915/{intel_drv.h => display/intel_display_types.h} (85%)

-- 
2.20.1



More information about the Intel-gfx mailing list