[Intel-gfx] [PATCH 00/13] drm/i915: Convert connector properties to atomic.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Apr 7 06:07:49 UTC 2017


Together with <gen5 watermarks this is the last bit required to finally have
full support for atomic.

Right now what may be surprising is that while all connector properties are
exposed through atomic, trying to set them will fail with -EINVAL, or fail
because the atomic state is not unused (intel tv).

We already pass connector state to the relevant callbacks, so it's not too hard
to implement this correctly.

This uses the new atomic_check() and might conflict with dhnkrn's patches since
it uses intel dp's atomic_check() for releasing some state. If there is a conflict
it will be easy to solve by making sure intel dp's atomic_check calls the
intel_digital_connector_atomic_check as well on success.

Maarten Lankhorst (13):
  drm/i915: Remove unused members from intel_tv.c
  drm/i915: Convert intel_tv connector properties to atomic, v5.
  drm/i915: Convert intel_dp_mst connector properties to atomic.
  drm/i915: Convert intel_crt connector properties to atomic.
  drm/i915: Convert intel DVO connector to atomic
  drm/i915: Add plumbing for digital connector state.
  drm/i915: Convert DSI connector properties to atomic.
  drm/i915: Convert LVDS connector properties to atomic.
  drm/i915: Make intel_dp->has_audio reflect hw state only
  drm/i915: Convert intel_dp properties to atomic.
  drm/i915: Convert intel_hdmi connector properties to atomic
  drm/i915: Handle force_audio correctly in intel_sdvo
  drm/i915: Convert intel_sdvo connector properties to atomic.

 drivers/gpu/drm/i915/intel_atomic.c  | 177 +++++++++--
 drivers/gpu/drm/i915/intel_crt.c     |  10 +-
 drivers/gpu/drm/i915/intel_display.c |  51 +---
 drivers/gpu/drm/i915/intel_dp.c      | 154 ++--------
 drivers/gpu/drm/i915/intel_dp_mst.c  |  11 +-
 drivers/gpu/drm/i915/intel_drv.h     |  43 ++-
 drivers/gpu/drm/i915/intel_dsi.c     |  63 +---
 drivers/gpu/drm/i915/intel_dvo.c     |   4 +-
 drivers/gpu/drm/i915/intel_hdmi.c    | 164 +++-------
 drivers/gpu/drm/i915/intel_lvds.c    |  60 ++--
 drivers/gpu/drm/i915/intel_panel.c   |   4 +-
 drivers/gpu/drm/i915/intel_sdvo.c    | 561 ++++++++++++++++++-----------------
 drivers/gpu/drm/i915/intel_tv.c      | 208 ++++---------
 13 files changed, 644 insertions(+), 866 deletions(-)

-- 
2.7.4



More information about the Intel-gfx mailing list