Rev 1125 | Rev 1179 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1125 | Rev 1128 | ||
---|---|---|---|
Line 445... | Line 445... | ||
445 | union atom_supported_devices *supported_devices; |
445 | union atom_supported_devices *supported_devices; |
446 | int i, j; |
446 | int i, j; |
447 | struct bios_connector bios_connectors[ATOM_MAX_SUPPORTED_DEVICE]; |
447 | struct bios_connector bios_connectors[ATOM_MAX_SUPPORTED_DEVICE]; |
Line 448... | Line 448... | ||
448 | 448 | ||
449 | atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset); |
449 | atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset); |
450 | ENTRY(); |
450 | |
451 | supported_devices = |
451 | supported_devices = |
Line 452... | Line 452... | ||
452 | (union atom_supported_devices *)(ctx->bios + data_offset); |
452 | (union atom_supported_devices *)(ctx->bios + data_offset); |
Line 594... | Line 594... | ||
594 | &bios_connectors[i].ddc_bus, |
594 | &bios_connectors[i].ddc_bus, |
595 | false, 0); |
595 | false, 0); |
596 | } |
596 | } |
Line 597... | Line 597... | ||
597 | 597 | ||
598 | radeon_link_encoder_connector(dev); |
598 | radeon_link_encoder_connector(dev); |
599 | LEAVE(); |
599 | |
600 | return true; |
600 | return true; |
Line 601... | Line 601... | ||
601 | } |
601 | } |
602 | 602 | ||
Line 942... | Line 942... | ||
942 | void radeon_atom_initialize_bios_scratch_regs(struct drm_device *dev) |
942 | void radeon_atom_initialize_bios_scratch_regs(struct drm_device *dev) |
943 | { |
943 | { |
944 | struct radeon_device *rdev = dev->dev_private; |
944 | struct radeon_device *rdev = dev->dev_private; |
945 | uint32_t bios_2_scratch, bios_6_scratch; |
945 | uint32_t bios_2_scratch, bios_6_scratch; |
Line 946... | Line -... | ||
946 | - | ||
947 | dbgprintf("%s\n",__FUNCTION__); |
- | |
948 | 946 | ||
949 | if (rdev->family >= CHIP_R600) { |
947 | if (rdev->family >= CHIP_R600) { |
950 | bios_2_scratch = RREG32(R600_BIOS_0_SCRATCH); |
948 | bios_2_scratch = RREG32(R600_BIOS_0_SCRATCH); |
951 | bios_6_scratch = RREG32(R600_BIOS_6_SCRATCH); |
949 | bios_6_scratch = RREG32(R600_BIOS_6_SCRATCH); |
952 | } else { |
950 | } else { |