[PATCH 0/8] drm: Second attempt at fixing the fb-helper .best_encoder() mess

Ville Syrjala ville.syrjala at linux.intel.com
Tue Jun 26 17:47:06 UTC 2018


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

Daniel pointed out that there should be a way to do what userspace does
and not require any .best_encoder() stuff in the fb-helper. So this
series does just that. Well, most of the series is actually just extra
polish that happened by accident. But the real thing is in there
somewhere still :)

The not-so-great previous attempt was this thing:
https://patchwork.freedesktop.org/series/44864/

Ville Syrjälä (8):
  drm/fb-helper: Eliminate the .best_encoder() usage
  drm/i915: Nuke intel_mst_best_encoder()
  drm: Add drm_for_each_connector_encoder_ids()
  drm/amdgpu: Use drm_for_each_connector_encoder_ids()
  drm/msm: Use drm_for_each_connector_encoder_ids()
  drm/nouveau: Use drm_for_each_connector_encoder_ids()
  drm/radeon: Use drm_for_each_connector_encoder_ids()
  drm/tilcdc: Use drm_for_each_connector_encoder_ids()

 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 51 ++++++++-------------
 drivers/gpu/drm/amd/amdgpu/dce_virtual.c       | 15 +++---
 drivers/gpu/drm/drm_connector.c                | 22 ++++-----
 drivers/gpu/drm/drm_fb_helper.c                | 36 ++++++++-------
 drivers/gpu/drm/drm_probe_helper.c             |  9 ++--
 drivers/gpu/drm/i915/intel_dp_mst.c            | 10 ----
 drivers/gpu/drm/msm/dsi/dsi_manager.c          |  5 +-
 drivers/gpu/drm/nouveau/nouveau_connector.c    | 20 +++-----
 drivers/gpu/drm/radeon/radeon_connectors.c     | 63 +++++++++++---------------
 drivers/gpu/drm/tilcdc/tilcdc_external.c       |  5 +-
 include/drm/drm_connector.h                    | 11 +++++
 11 files changed, 111 insertions(+), 136 deletions(-)

-- 
2.16.4



More information about the dri-devel mailing list