summaryrefslogtreecommitdiff
path: root/src/atombios_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-01-29 12:59:46 -0500
committerAlex Deucher <alexdeucher@gmail.com>2010-02-01 12:07:27 -0500
commitcb2772b69480268c059766c4f6b209ce590ede0e (patch)
treef4cd5f3a2290f2220c2b00f1f5da82e66e097421 /src/atombios_output.c
parentbd8e04cb7b39f38b6958273582a9b324a9f0759a (diff)
evergreen: add atombios crtc/pll functions
Diffstat (limited to 'src/atombios_output.c')
-rw-r--r--src/atombios_output.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/atombios_output.c b/src/atombios_output.c
index b56d8a02..d7c396bf 100644
--- a/src/atombios_output.c
+++ b/src/atombios_output.c
@@ -765,11 +765,8 @@ atombios_output_dig_transmitter_setup(xf86OutputPtr output, int action, uint8_t
//if (radeon_output->dig_encoder)
// disp_data.v2.acConfig.ucEncoderSel = 1;
- // XXX select the PLL
- if (radeon_output->dig_encoder)
- disp_data.v3.acConfig.ucRefClkSource = 1; // PLL2
- else
- disp_data.v3.acConfig.ucRefClkSource = 0; // PLL1
+ // select the PLL
+ disp_data.v3.acConfig.ucRefClkSource = radeon_output->pll_id;
switch (radeon_encoder->encoder_id) {
case ENCODER_OBJECT_ID_INTERNAL_UNIPHY: