Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168463
b: refs/heads/master
c: d0c403e
h: refs/heads/master
i:
  168461: 7aeee7b
  168459: ce08c7a
  168455: e8335b4
  168447: 9d33d6f
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Oct 16, 2009
1 parent 4a0bde6 commit ab3a425
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d152c6ba81c8a7776103b517fa454b8da0419aa
refs/heads/master: d0c403e950d449c8c413a1fbf05dfec45ce03e55
21 changes: 19 additions & 2 deletions trunk/drivers/gpu/drm/radeon/radeon_combios.c
Original file line number Diff line number Diff line change
Expand Up @@ -1773,8 +1773,25 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev)
DRM_MODE_CONNECTOR_DVII,
&ddc_i2c);
} else {
DRM_DEBUG("No connector info found\n");
return false;
uint16_t crt_info =
combios_get_table_offset(dev, COMBIOS_CRT_INFO_TABLE);
DRM_DEBUG("Found CRT table, assuming VGA connector\n");
if (crt_info) {
radeon_add_legacy_encoder(dev,
radeon_get_encoder_id(dev,
ATOM_DEVICE_CRT1_SUPPORT,
1),
ATOM_DEVICE_CRT1_SUPPORT);
ddc_i2c = combios_setup_i2c_bus(RADEON_GPIO_VGA_DDC);
radeon_add_legacy_connector(dev,
0,
ATOM_DEVICE_CRT1_SUPPORT,
DRM_MODE_CONNECTOR_VGA,
&ddc_i2c);
} else {
DRM_DEBUG("No connector info found\n");
return false;
}
}
}

Expand Down

0 comments on commit ab3a425

Please sign in to comment.