Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8780e2a authored by Francisco Jerez's avatar Francisco Jerez Committed by Ben Skeggs
Browse files

drm/nouveau: Unset the EDID connector property when the EDID block goes away.

parent 0ed3165e
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -239,8 +239,12 @@ nouveau_connector_detect(struct drm_connector *connector)
		return connector_status_connected;
	}

	/* Cleanup the previous EDID block. */
	if (nv_connector->edid) {
		drm_mode_connector_update_edid_property(connector, NULL);
		kfree(nv_connector->edid);
		nv_connector->edid = NULL;
	}

	i2c = nouveau_connector_ddc_detect(connector, &nv_encoder);
	if (i2c) {