[Intel-gfx] [PATCH v2 00/14] drm: Try to fix encoder possible_clones/crtc

Ville Syrjala ville.syrjala at linux.intel.com
Mon Jul 8 16:20:34 UTC 2019


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

Resurrecting my possible_clones/crtcs cleanup from ~1 year ago.
Some prep work from the previous posting did get merged in the
meantime.

I have a feeling the WARNs from the new validation code may end up
triggering on some drivers, but I don't imagine this stuff would
get fixed without inflicting a bit of pain.

Ville Syrjälä (14):
  drm: Include the encoder itself in possible_clones
  drm/gma500: Sanitize possible_clones
  drm/sti: Remove pointless casts
  drm/sti: Try to fix up the tvout possible clones
  drm/exynos: Use drm_encoder_mask()
  drm/imx: Remove the bogus possible_clones setup
  drm/i915: Polish possible_clones setup
  drm/i915: Populate possible_crtcs correctly
  drm/i915: Fix DP-MST crtc_mask
  drm/i915: Clean up encoder->crtc_mask setup
  drm/i915: Simplfy LVDS crtc_mask setup
  drm/i915: s/crtc_mask/pipe_mask/
  drm: Validate encoder->possible_clones
  drm: Validate encoder->possible_crtcs

 drivers/gpu/drm/drm_encoder.c                | 63 ++++++++++++++++++++
 drivers/gpu/drm/exynos/exynos_drm_drv.c      |  5 +-
 drivers/gpu/drm/gma500/framebuffer.c         | 16 ++---
 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c       |  4 +-
 drivers/gpu/drm/i915/display/icl_dsi.c       |  2 +-
 drivers/gpu/drm/i915/display/intel_crt.c     |  4 +-
 drivers/gpu/drm/i915/display/intel_ddi.c     |  2 +-
 drivers/gpu/drm/i915/display/intel_display.c | 28 ++++++---
 drivers/gpu/drm/i915/display/intel_dp.c      |  6 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_dvo.c     |  2 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c    |  6 +-
 drivers/gpu/drm/i915/display/intel_lvds.c    |  8 +--
 drivers/gpu/drm/i915/display/intel_sdvo.c    |  2 +-
 drivers/gpu/drm/i915/display/intel_tv.c      |  3 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c       |  6 +-
 drivers/gpu/drm/i915/intel_drv.h             |  5 +-
 drivers/gpu/drm/imx/imx-drm-core.c           |  2 +-
 drivers/gpu/drm/sti/sti_tvout.c              | 16 +++--
 19 files changed, 129 insertions(+), 53 deletions(-)

-- 
2.21.0



More information about the Intel-gfx mailing list