[Intel-gfx] [PATCH 0/9] drm/i915: Cleanups around intel_attached_encoder() & co.

Ville Syrjala ville.syrjala at linux.intel.com
Wed Dec 4 18:05:40 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

A bunch of cleanup around intel_attached_encoder() and its cousins.
The main motivation is to make it easier to spot the remaining
legacy drm_connector->encoder uses from the attached encoder's
intel_connector->encoder. I'm working towards neutering the former
in favor of using proper atomic state(s).

Ville Syrjälä (9):
  drm/i915/hdcp: Nuke intel_hdcp_transcoder_config()
  drm/i915: Pass intel_connector to intel_attached_*()
  drm/i915: Pass intel_encoder to enc_to_*()
  drm/i915: Use the passed in encoder
  drm/i915: Use intel_attached_encoder()
  drm/i915: Relocate intel_attached_dp()
  drm/i915: Use intel_attached_dp() instead of hand rolling it
  drm/i915: Rename conn_to_dig_port() to intel_attached_dig_port()
  drm/i915/hdcp: Clean up local variables

 drivers/gpu/drm/i915/display/icl_dsi.c        |  58 +++++-----
 drivers/gpu/drm/i915/display/intel_audio.c    |   4 +-
 .../gpu/drm/i915/display/intel_connector.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_crt.c      |  12 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      |  70 ++++++------
 drivers/gpu/drm/i915/display/intel_display.c  |  14 +--
 .../drm/i915/display/intel_display_power.c    |   6 +-
 .../drm/i915/display/intel_display_types.h    |  30 +++--
 drivers/gpu/drm/i915/display/intel_dp.c       |  74 ++++++------
 .../drm/i915/display/intel_dp_aux_backlight.c |  15 +--
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |  28 ++---
 drivers/gpu/drm/i915/display/intel_dpio_phy.c |  18 +--
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c |   4 +-
 drivers/gpu/drm/i915/display/intel_dsi.h      |   6 +-
 .../i915/display/intel_dsi_dcs_backlight.c    |  12 +-
 drivers/gpu/drm/i915/display/intel_dvo.c      |   8 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c     | 108 ++++++++----------
 drivers/gpu/drm/i915/display/intel_hdcp.h     |   5 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c     |  70 ++++++------
 drivers/gpu/drm/i915/display/intel_hdmi.h     |   2 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c  |  14 +--
 drivers/gpu/drm/i915/display/intel_lspcon.c   |   8 +-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c |   2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c     |  22 ++--
 drivers/gpu/drm/i915/display/intel_tv.c       |   6 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c     |   4 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c        |  38 +++---
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c    |  12 +-
 drivers/gpu/drm/i915/i915_debugfs.c           |  40 +++----
 29 files changed, 339 insertions(+), 353 deletions(-)

-- 
2.23.0



More information about the Intel-gfx mailing list