[PATCH 0/4] drm/dp: Introduce AUX channel infrastructure

Thierry Reding thierry.reding at gmail.com
Thu Dec 12 06:53:46 PST 2013


Hi,

This small series introduces some infrastructure to support AUX channels
in a generic way. Drivers make use of it by embedding and filling in a
struct drm_dp_aux. Various helpers can then be used to for example read
from or write to the DPCD.

Patch 1 adds the basic infrastructure as well as a couple of helpers to
access the DPCD.

The helper introduced in patch 2 can be used to obtain the link status
as expected by various existing DP helpers.

More convenience helpers are added in patch 3, which can come in handy
during DP initialization.

An AUX channel can also be used to implement I2C-over-AUX and patch 4
wraps a drm_dp_aux object such that it can be used with the existing
i2c_dp_aux helpers. Eventually it should be possible to implement the
same functionality more directly instead of going through the
additional layer of indirection.

Thierry

Thierry Reding (4):
  drm/dp: Add AUX channel infrastructure
  drm/dp: Add drm_dp_dpcd_read_link_status()
  drm/dp: Add DisplayPort link helpers
  drm/dp: Allow registering AUX channels as I2C busses

 drivers/gpu/drm/drm_dp_helper.c | 203 ++++++++++++++++++++++++++++++++++++++++
 include/drm/drm_dp_helper.h     | 122 ++++++++++++++++++++++++
 2 files changed, 325 insertions(+)

-- 
1.8.4.2



More information about the dri-devel mailing list