summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-01-26 10:11:28 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-01-26 10:11:28 -0500
commit1a62360e8260eaf5f98fa6be3f89f64c8cae7d32 (patch)
tree2cbb075ff651728afa903eeb65887e7432664cb1
parent44d9ceacb1fa6e1859d5d8bd1c55405aea24ad85 (diff)
Encoders not assigned yet, use supported devices
need to move this to encoder setup
-rw-r--r--src/radeon_output.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index ff307708..78af9a72 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -1114,14 +1114,10 @@ radeon_create_resources(xf86OutputPtr output)
ScrnInfoPtr pScrn = output->scrn;
RADEONInfoPtr info = RADEONPTR(pScrn);
RADEONOutputPrivatePtr radeon_output = output->driver_private;
- radeon_encoder_ptr radeon_encoder = radeon_get_encoder(output);
INT32 range[2];
int data, err;
const char *s;
- if (radeon_encoder == NULL)
- return;
-
#if 0
/* backlight control */
if (radeon_output->type == OUTPUT_LVDS) {
@@ -1197,7 +1193,7 @@ radeon_create_resources(xf86OutputPtr output)
}
}
- if ((!IS_AVIVO_VARIANT) && (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_TMDS1)) {
+ if ((!IS_AVIVO_VARIANT) && (radeon_output->devices & (ATOM_DEVICE_DFP2_SUPPORT))) {
tmds_pll_atom = MAKE_ATOM("tmds_pll");
err = RRConfigureOutputProperty(output->randr_output, tmds_pll_atom,