Originally posted by droidhacker
View Post
Originally posted by droidhacker
View Post
Originally posted by droidhacker
View Post
--- a/drivers/gpu/drm/radeon/radeon_connectors.c
+++ b/drivers/gpu/drm/radeon/radeon_connectors.c
@@ -998,6 +998,10 @@ static enum drm_connector_status radeon_dp_detect(struct drm_connector *connecto
}
}
+ radeon_dig_connector->dp_sink_type = CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D;
+ if (radeon_ddc_probe(radeon_connector))
+ ret = connector_status_connected;
+
return ret;
}
Originally posted by droidhacker
View Post
Something like the following should allow you to force the connector on in non-DP mode using xrandr:
--- a/drivers/gpu/drm/radeon/radeon_connectors.c
+++ b/drivers/gpu/drm/radeon/radeon_connectors.c
@@ -990,12 +990,14 @@ static enum drm_connector_status radeon_dp_detect(struct drm_connector *connecto
if (radeon_dp_getdpcd(radeon_connector)) {
radeon_dig_connector->dp_sink_type = sink_type;
ret = connector_status_connected;
- }
+ } else
+ radeon_dig_connector->dp_sink_type = CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D;
} else {
if (radeon_ddc_probe(radeon_connector)) {
radeon_dig_connector->dp_sink_type = sink_type;
ret = connector_status_connected;
- }
+ } else
+ radeon_dig_connector->dp_sink_type = CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D;
}
return ret;
Comment