diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 94a7688..403e00d 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -1283,10 +1283,14 @@ int drm_mode_getconnector(struct drm_device *dev, void *data, out_resp->connector_id = connector->base.id; out_resp->connector_type = connector->connector_type; out_resp->connector_type_id = connector->connector_type_id; + + /* These values should have been fetched by fill_modes from the EDID */ out_resp->mm_width = connector->display_info.width_mm; out_resp->mm_height = connector->display_info.height_mm; out_resp->subpixel = connector->display_info.subpixel_order; - out_resp->connection = connector->status; + + /* Go see if it's there */ + out_resp->connection = connector->funcs->detect(connector); if (connector->encoder) out_resp->encoder_id = connector->encoder->base.id; else