[PATCH v2 0/8] drm & drivers: kill drm_get_connector_name() and drm_get_encoder_name()

Jani Nikula jani.nikula at intel.com
Tue Jun 3 04:56:15 PDT 2014


Hi all, this is v2 of [1] to remove drm_get_connector_name() and
drm_get_encoder_name(), adding patch 1 for imx in staging and making
some dereferences less of an eye sore. This is based on Dave's drm-next
branch.

BR,
Jani.


[1] http://mid.gmane.org/cover.1401110921.git.jani.nikula@intel.com


Jani Nikula (8):
  staging: imx-drm-core: replace drm_get_connector_name() with direct
    name field use
  drm/i915: replace drm_get_connector_name() with direct name field use
  drm/nouveau: replace drm_get_connector_name() with direct name field
    use
  drm/radeon: replace drm_get_connector_name() with direct name field
    use
  drm: replace drm_get_connector_name() with direct name field use
  drm/i915: replace drm_get_encoder_name() with direct name field use
  drm: replace drm_get_encoder_name() with direct name field use
  drm: drop drm_get_connector_name() and drm_get_encoder_name()

 drivers/gpu/drm/drm_crtc.c                  | 26 +++--------------------
 drivers/gpu/drm/drm_crtc_helper.c           |  8 ++++----
 drivers/gpu/drm/drm_edid.c                  |  6 +++---
 drivers/gpu/drm/drm_edid_load.c             |  2 +-
 drivers/gpu/drm/drm_fb_helper.c             |  6 +++---
 drivers/gpu/drm/drm_probe_helper.c          | 10 ++++-----
 drivers/gpu/drm/drm_sysfs.c                 |  6 +++---
 drivers/gpu/drm/i915/i915_debugfs.c         |  6 +++---
 drivers/gpu/drm/i915/i915_irq.c             |  8 ++++----
 drivers/gpu/drm/i915/intel_crt.c            |  2 +-
 drivers/gpu/drm/i915/intel_display.c        | 32 ++++++++++++++---------------
 drivers/gpu/drm/i915/intel_dp.c             |  4 ++--
 drivers/gpu/drm/i915/intel_dvo.c            |  2 +-
 drivers/gpu/drm/i915/intel_fbdev.c          |  2 +-
 drivers/gpu/drm/i915/intel_hdmi.c           |  2 +-
 drivers/gpu/drm/i915/intel_lvds.c           |  2 +-
 drivers/gpu/drm/i915/intel_panel.c          |  2 +-
 drivers/gpu/drm/i915/intel_sdvo.c           |  8 ++++----
 drivers/gpu/drm/i915/intel_tv.c             |  2 +-
 drivers/gpu/drm/nouveau/dispnv04/dac.c      |  2 +-
 drivers/gpu/drm/nouveau/dispnv04/dfp.c      |  2 +-
 drivers/gpu/drm/nouveau/dispnv04/disp.c     |  2 +-
 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c   |  3 ++-
 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c   |  3 +--
 drivers/gpu/drm/nouveau/nouveau_connector.c |  8 ++++----
 drivers/gpu/drm/nouveau/nv50_display.c      |  2 +-
 drivers/gpu/drm/radeon/radeon_connectors.c  | 19 ++++++++++-------
 drivers/gpu/drm/radeon/radeon_display.c     |  2 +-
 drivers/staging/imx-drm/imx-drm-core.c      |  2 +-
 include/drm/drm_crtc.h                      |  2 --
 30 files changed, 83 insertions(+), 100 deletions(-)

-- 
1.9.1



More information about the dri-devel mailing list