summaryrefslogtreecommitdiff
path: root/src/radeon_atombios.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-01-26 02:40:41 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-01-26 02:40:41 -0500
commit93ed767255b60fbdf5b416b9bd06c366036a5141 (patch)
tree72fe68add95260e658e81bf255995eba24b3ce4b /src/radeon_atombios.c
parentb515eee4b1cafae78ed39cd91c18b4f5e671b20b (diff)
Fix off by one when printing encoder name
- also cleanup some debugging output
Diffstat (limited to 'src/radeon_atombios.c')
-rw-r--r--src/radeon_atombios.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index 68adb0de..d7d5f7ce 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -2010,7 +2010,6 @@ radeon_get_encoder_id_from_supported_device(ScrnInfoPtr pScrn, uint32_t supporte
switch (dac) {
// primary dac
case 1:
- ErrorF("adding primary dac\n");
if ((info->ChipFamily == CHIP_FAMILY_RS300) ||
(info->ChipFamily == CHIP_FAMILY_RS400) ||
(info->ChipFamily == CHIP_FAMILY_RS480))
@@ -2022,7 +2021,6 @@ radeon_get_encoder_id_from_supported_device(ScrnInfoPtr pScrn, uint32_t supporte
break;
// secondary dac
case 2:
- ErrorF("adding tv dac\n");
if (IS_AVIVO_VARIANT)
ret = ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2;
else {
@@ -2034,7 +2032,6 @@ radeon_get_encoder_id_from_supported_device(ScrnInfoPtr pScrn, uint32_t supporte
break;
// external dac
case 3:
- ErrorF("adding external dac\n");
if (IS_AVIVO_VARIANT)
ret = ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1;
else
@@ -2043,14 +2040,12 @@ radeon_get_encoder_id_from_supported_device(ScrnInfoPtr pScrn, uint32_t supporte
}
break;
case ATOM_DEVICE_LCD1_SUPPORT:
- ErrorF("adding LVDS\n");
if (IS_AVIVO_VARIANT)
ret = ENCODER_OBJECT_ID_INTERNAL_LVTM1;
else
ret = ENCODER_OBJECT_ID_INTERNAL_LVDS;
break;
case ATOM_DEVICE_DFP1_SUPPORT:
- ErrorF("adding FP1\n");
if ((info->ChipFamily == CHIP_FAMILY_RS300) ||
(info->ChipFamily == CHIP_FAMILY_RS400) ||
(info->ChipFamily == CHIP_FAMILY_RS480))
@@ -2062,7 +2057,6 @@ radeon_get_encoder_id_from_supported_device(ScrnInfoPtr pScrn, uint32_t supporte
break;
case ATOM_DEVICE_LCD2_SUPPORT:
case ATOM_DEVICE_DFP2_SUPPORT:
- ErrorF("adding FP2\n");
if ((info->ChipFamily == CHIP_FAMILY_RS600) ||
(info->ChipFamily == CHIP_FAMILY_RS690) ||
(info->ChipFamily == CHIP_FAMILY_RS740))
@@ -2073,7 +2067,6 @@ radeon_get_encoder_id_from_supported_device(ScrnInfoPtr pScrn, uint32_t supporte
ret = ENCODER_OBJECT_ID_INTERNAL_DVO1;
break;
case ATOM_DEVICE_DFP3_SUPPORT:
- ErrorF("adding FP3\n");
ret = ENCODER_OBJECT_ID_INTERNAL_LVTM1;
break;
}