|
@@ -1032,21 +1032,18 @@ bool radeon_atombios_sideport_present(struct radeon_device *rdev)
|
|
|
u8 frev, crev;
|
|
|
u16 data_offset;
|
|
|
|
|
|
+ /* sideport is AMD only */
|
|
|
+ if (rdev->family == CHIP_RS600)
|
|
|
+ return false;
|
|
|
+
|
|
|
if (atom_parse_data_header(mode_info->atom_context, index, NULL,
|
|
|
&frev, &crev, &data_offset)) {
|
|
|
igp_info = (union igp_info *)(mode_info->atom_context->bios +
|
|
|
data_offset);
|
|
|
switch (crev) {
|
|
|
case 1:
|
|
|
- /* AMD IGPS */
|
|
|
- if ((rdev->family == CHIP_RS690) ||
|
|
|
- (rdev->family == CHIP_RS740)) {
|
|
|
- if (igp_info->info.ulBootUpMemoryClock)
|
|
|
- return true;
|
|
|
- } else {
|
|
|
- if (igp_info->info.ucMemoryType & 0xf0)
|
|
|
- return true;
|
|
|
- }
|
|
|
+ if (igp_info->info.ulBootUpMemoryClock)
|
|
|
+ return true;
|
|
|
break;
|
|
|
case 2:
|
|
|
if (igp_info->info_2.ucMemoryType & 0x0f)
|