@@ -260,11 +260,33 @@ radeon_dp_mst_connector_destroy(struct drm_connector *connector)
kfree(radeon_connector);
}
+static int
+radeon_dp_mst_connector_late_register(struct drm_connector *connector)
+{
+ struct radeon_connector *radeon_connector =
+ to_radeon_connector(connector);
+ struct drm_dp_mst_port *port = radeon_connector->port;
+
+ return drm_dp_mst_connector_late_register(connector, port);
+}
+
+static void
+radeon_dp_mst_connector_early_unregister(struct drm_connector *connector)
+{
+ struct radeon_connector *radeon_connector =
+ to_radeon_connector(connector);
+ struct drm_dp_mst_port *port = radeon_connector->port;
+
+ drm_dp_mst_connector_early_unregister(connector, port);
+}
+
static const struct drm_connector_funcs radeon_dp_mst_connector_funcs = {
.dpms = drm_helper_connector_dpms,
.detect = radeon_dp_mst_detect,
.fill_modes = drm_helper_probe_single_connector_modes,
.destroy = radeon_dp_mst_connector_destroy,
+ .late_register = radeon_dp_mst_connector_late_register,
+ .early_unregister = radeon_dp_mst_connector_early_unregister,
};
static struct drm_connector *radeon_dp_add_mst_connector(struct drm_dp_mst_topology_mgr *mgr,