drm: add support for DisplayPort CEC-Tunneling-over-AUX
This adds support for the DisplayPort CEC-Tunneling-over-AUX feature that is part of the DisplayPort 1.3 standard. Unfortunately, not all DisplayPort/USB-C to HDMI adapters with a chip that has this capability actually hook up the CEC pin, so even though a CEC device is created, it may not actually work. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180711132909.25409-2-hverkuil@xs4all.nl
This commit is contained in:

committed by
Ville Syrjälä

parent
cf19fa2cfa
commit
2c6d1fffa1
@@ -1087,6 +1087,7 @@ static void drm_dp_aux_crc_work(struct work_struct *work)
|
||||
void drm_dp_aux_init(struct drm_dp_aux *aux)
|
||||
{
|
||||
mutex_init(&aux->hw_mutex);
|
||||
mutex_init(&aux->cec.lock);
|
||||
INIT_WORK(&aux->crc_work, drm_dp_aux_crc_work);
|
||||
|
||||
aux->ddc.algo = &drm_dp_i2c_algo;
|
||||
|
Reference in New Issue
Block a user