summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,