Rev 2004 | Rev 2997 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2004 | Rev 2160 | ||
---|---|---|---|
Line 513... | Line 513... | ||
513 | radeon_router_select_ddc_port(radeon_connector); |
513 | radeon_router_select_ddc_port(radeon_connector); |
Line 514... | Line 514... | ||
514 | 514 | ||
515 | if (!radeon_connector->ddc_bus) |
515 | if (!radeon_connector->ddc_bus) |
516 | return -1; |
516 | return -1; |
- | 517 | edid = drm_get_edid(connector, &radeon_connector->ddc_bus->adapter); |
|
- | 518 | /* Log EDID retrieval status here. In particular with regard to |
|
- | 519 | * connectors with requires_extended_probe flag set, that will prevent |
|
- | 520 | * function radeon_dvi_detect() to fetch EDID on this connector, |
|
517 | edid = drm_get_edid(connector, &radeon_connector->ddc_bus->adapter); |
521 | * as long as there is no valid EDID header found */ |
- | 522 | if (edid) { |
|
- | 523 | DRM_INFO("Radeon display connector %s: Found valid EDID", |
|
518 | if (edid) { |
524 | drm_get_connector_name(connector)); |
- | 525 | kfree(edid); |
|
- | 526 | } else { |
|
- | 527 | DRM_INFO("Radeon display connector %s: No monitor connected or invalid EDID", |
|
519 | kfree(edid); |
528 | drm_get_connector_name(connector)); |
520 | } |
529 | } |
521 | return ret; |
530 | return ret; |
Line 522... | Line 531... | ||
522 | } |
531 | } |
Line 1012... | Line 1021... | ||
1012 | int radeon_modeset_init(struct radeon_device *rdev) |
1021 | int radeon_modeset_init(struct radeon_device *rdev) |
1013 | { |
1022 | { |
1014 | int i; |
1023 | int i; |
1015 | int ret; |
1024 | int ret; |
Line 1016... | Line -... | ||
1016 | - | ||
1017 | ENTER(); |
- | |
1018 | 1025 | ||
1019 | drm_mode_config_init(rdev->ddev); |
1026 | drm_mode_config_init(rdev->ddev); |
Line 1020... | Line 1027... | ||
1020 | rdev->mode_info.mode_config_initialized = true; |
1027 | rdev->mode_info.mode_config_initialized = true; |
Line 1070... | Line 1077... | ||
1070 | // radeon_pm_init(rdev); |
1077 | // radeon_pm_init(rdev); |
Line 1071... | Line 1078... | ||
1071 | 1078 | ||
1072 | radeon_fbdev_init(rdev); |
1079 | radeon_fbdev_init(rdev); |
Line 1073... | Line -... | ||
1073 | // drm_kms_helper_poll_init(rdev->ddev); |
- | |
1074 | - | ||
1075 | LEAVE(); |
1080 | // drm_kms_helper_poll_init(rdev->ddev); |
1076 | 1081 | ||
Line 1077... | Line 1082... | ||
1077 | return 0; |
1082 | return 0; |
1078 | } |
1083 | } |