diff options
author | Thierry Reding <treding@nvidia.com> | 2013-11-28 11:31:00 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-02-26 17:21:32 +0100 |
commit | c197db75ff5c1d4f015c7668a3715e230a5d7e27 (patch) | |
tree | 9ba1ee03f90e51548bb4c1d9533b81e87fa04539 /include/clocksource | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) | |
download | blackbird-op-linux-c197db75ff5c1d4f015c7668a3715e230a5d7e27.tar.gz blackbird-op-linux-c197db75ff5c1d4f015c7668a3715e230a5d7e27.zip |
drm/dp: Add AUX channel infrastructure
This is a superset of the current i2c_dp_aux bus functionality and can
be used to transfer native AUX in addition to I2C-over-AUX messages.
Helpers are provided to read and write the DPCD, either blockwise or
byte-wise. Many of the existing helpers for DisplayPort take a copy of a
portion of the DPCD and operate on that, without a way to write data
back to the DPCD (e.g. for configuration of the link).
Subsequent patches will build upon this infrastructure to provide common
functionality in a generic way.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
Changes in v5:
- move comments partially to struct drm_dp_aux_msg in header file
- return -EPROTO on short reads in DPCD helpers
Changes in v4:
- fix a typo in a comment
Changes in v3:
- reorder drm_dp_dpcd_writeb() arguments to be more intuitive
- return number of bytes transferred in drm_dp_dpcd_write()
- factor out drm_dp_dpcd_access()
- describe error codes
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions