On Thu, May 25, 2023 at 2:31 AM Ben Skeggs <skeggsb@xxxxxxxxx> wrote: > > From: Ben Skeggs <bskeggs@xxxxxxxxxx> > > RM complains very loudly at the aux transaction attempts. > > Signed-off-by: Ben Skeggs <bskeggs@xxxxxxxxxx> > --- > drivers/gpu/drm/nouveau/nouveau_connector.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c > index 086b66b60d91..4c0cb32f6f2c 100644 > --- a/drivers/gpu/drm/nouveau/nouveau_connector.c > +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c > @@ -619,7 +619,10 @@ nouveau_connector_detect(struct drm_connector *connector, bool force) > > nouveau_connector_set_encoder(connector, nv_encoder); > conn_status = connector_status_connected; > - drm_dp_cec_set_edid(&nv_connector->aux, nv_connector->edid); > + > + if (nv_encoder->dcb->type == DCB_OUTPUT_DP) > + drm_dp_cec_set_edid(&nv_connector->aux, nv_connector->edid); > + > goto out; > } else { > nouveau_connector_set_edid(nv_connector, NULL); > -- > 2.40.1 > Reviewed-by: Karol Herbst <kherbst@xxxxxxxxxx>