From 1a62360e8260eaf5f98fa6be3f89f64c8cae7d32 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Mon, 26 Jan 2009 10:11:28 -0500 Subject: Encoders not assigned yet, use supported devices need to move this to encoder setup --- src/radeon_output.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') 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, -- cgit v1.2.3