566,8 → 566,9 |
radeon_i2c_do_lock(radeon_connector, 0); |
|
if (!radeon_connector->edid) { |
DRM_ERROR("DDC responded but not EDID found for %s\n", |
DRM_ERROR("%s: probed a monitor but no|invalid EDID\n", |
drm_get_connector_name(connector)); |
ret = connector_status_connected; |
} else { |
radeon_connector->use_digital = !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); |
|
720,7 → 721,7 |
radeon_i2c_do_lock(radeon_connector, 0); |
|
if (!radeon_connector->edid) { |
DRM_ERROR("DDC responded but not EDID found for %s\n", |
DRM_ERROR("%s: probed a monitor but no|invalid EDID\n", |
drm_get_connector_name(connector)); |
} else { |
radeon_connector->use_digital = !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); |
1070,10 → 1071,6 |
uint32_t subpixel_order = SubPixelNone; |
int ret; |
|
ENTER(); |
|
dbgprintf("id %d device %x type %x i2c %x\n", |
connector_id, supported_device, connector_type, i2c_bus); |
/* fixme - tv/cv/din */ |
if (connector_type == DRM_MODE_CONNECTOR_Unknown) |
return; |
1083,7 → 1080,6 |
radeon_connector = to_radeon_connector(connector); |
if (radeon_connector->connector_id == connector_id) { |
radeon_connector->devices |= supported_device; |
LEAVE(); |
return; |
} |
} |
1154,6 → 1150,13 |
if (ret) |
goto failed; |
radeon_connector->dac_load_detect = true; |
/* RS400,RC410,RS480 chipset seems to report a lot |
* of false positive on load detect, we haven't yet |
* found a way to make load detect reliable on those |
* chipset, thus just disable it for TV. |
*/ |
if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480) |
radeon_connector->dac_load_detect = false; |
drm_connector_attach_property(&radeon_connector->base, |
rdev->mode_info.load_detect_property, |
1); |
1178,7 → 1181,6 |
|
connector->display_info.subpixel_order = subpixel_order; |
drm_sysfs_connector_add(connector); |
LEAVE(); |
return; |
|
failed: |
1186,5 → 1188,4 |
radeon_i2c_destroy(radeon_connector->ddc_bus); |
drm_connector_cleanup(connector); |
kfree(connector); |
LEAVE(); |
} |