summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-03-14 18:16:49 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-03-14 18:16:49 -0400
commit5c4ef924d082fd3b279f62fda7a97f563b009d38 (patch)
tree0648b2a7d40bc836bff30a8f6374d588043772c8
parent96fce5a56269509a935e8ee621a5e17cc9005ddc (diff)
radeon: fix typo in bios scratch reg setup
-rw-r--r--src/radeon_output.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index aab88fb0..620434ed 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -796,25 +796,25 @@ radeon_bios_output_crtc(xf86OutputPtr output)
save->bios_3_scratch &= ~ATOM_S3_TV1_CRTC_ACTIVE;
save->bios_3_scratch |= (radeon_crtc->crtc_id << 18);
} else if (radeon_output->active_device & ATOM_DEVICE_CV_SUPPORT) {
- save->bios_2_scratch &= ~ATOM_S3_CV_CRTC_ACTIVE;
+ save->bios_3_scratch &= ~ATOM_S3_CV_CRTC_ACTIVE;
save->bios_3_scratch |= (radeon_crtc->crtc_id << 24);
} else if (radeon_output->active_device & ATOM_DEVICE_CRT1_SUPPORT) {
- save->bios_2_scratch &= ~ATOM_S3_CRT1_CRTC_ACTIVE;
+ save->bios_3_scratch &= ~ATOM_S3_CRT1_CRTC_ACTIVE;
save->bios_3_scratch |= (radeon_crtc->crtc_id << 16);
} else if (radeon_output->active_device & ATOM_DEVICE_CRT2_SUPPORT) {
- save->bios_2_scratch &= ~ATOM_S3_CRT2_CRTC_ACTIVE;
+ save->bios_3_scratch &= ~ATOM_S3_CRT2_CRTC_ACTIVE;
save->bios_3_scratch |= (radeon_crtc->crtc_id << 20);
} else if (radeon_output->active_device & ATOM_DEVICE_LCD1_SUPPORT) {
- save->bios_2_scratch &= ~ATOM_S3_LCD1_CRTC_ACTIVE;
+ save->bios_3_scratch &= ~ATOM_S3_LCD1_CRTC_ACTIVE;
save->bios_3_scratch |= (radeon_crtc->crtc_id << 17);
} else if (radeon_output->active_device & ATOM_DEVICE_DFP1_SUPPORT) {
- save->bios_2_scratch &= ~ATOM_S3_DFP1_CRTC_ACTIVE;
+ save->bios_3_scratch &= ~ATOM_S3_DFP1_CRTC_ACTIVE;
save->bios_3_scratch |= (radeon_crtc->crtc_id << 19);
} else if (radeon_output->active_device & ATOM_DEVICE_DFP2_SUPPORT) {
- save->bios_2_scratch &= ~ATOM_S3_DFP2_CRTC_ACTIVE;
+ save->bios_3_scratch &= ~ATOM_S3_DFP2_CRTC_ACTIVE;
save->bios_3_scratch |= (radeon_crtc->crtc_id << 23);
} else if (radeon_output->active_device & ATOM_DEVICE_DFP3_SUPPORT) {
- save->bios_2_scratch &= ~ATOM_S3_DFP3_CRTC_ACTIVE;
+ save->bios_3_scratch &= ~ATOM_S3_DFP3_CRTC_ACTIVE;
save->bios_3_scratch |= (radeon_crtc->crtc_id << 25);
}
if (info->ChipFamily >= CHIP_FAMILY_R600)