diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-01-21 16:28:00 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-01-21 16:28:00 -0500 |
commit | 7b42b57d748f77ff6ef6f8ade7cbc983a98d7204 (patch) | |
tree | 1019b371e63b18c51f35dc4172973711ef1082d3 /src/legacy_crtc.c | |
parent | 1305376b009d17d65b4935896dc35cb7530f7c52 (diff) |
few more logic pasto's bits I missed
Diffstat (limited to 'src/legacy_crtc.c')
-rw-r--r-- | src/legacy_crtc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/legacy_crtc.c b/src/legacy_crtc.c index e71170fc..cba1b5f3 100644 --- a/src/legacy_crtc.c +++ b/src/legacy_crtc.c @@ -1743,10 +1743,10 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, RADEONOutputPrivatePtr radeon_output = output->driver_private; if (output->crtc == crtc) { - if (radeon_output->active_device && (ATOM_DEVICE_LCD_SUPPORT | - ATOM_DEVICE_DFP_SUPPORT)) + if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT | + ATOM_DEVICE_DFP_SUPPORT)) pll_flags |= RADEON_PLL_NO_ODD_POST_DIV; - if (radeon_output->active_device && (ATOM_DEVICE_LCD_SUPPORT)) + if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT)) pll_flags |= (RADEON_PLL_USE_BIOS_DIVS | RADEON_PLL_USE_REF_DIV); } } @@ -1791,7 +1791,7 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, RADEONOutputPrivatePtr radeon_output = output->driver_private; if (output->crtc == crtc) { - if (radeon_output->active_device && (ATOM_DEVICE_TV_SUPPORT)) { + if (radeon_output->active_device & (ATOM_DEVICE_TV_SUPPORT)) { switch (radeon_crtc->crtc_id) { case 0: RADEONAdjustCrtcRegistersForTV(pScrn, info->ModeReg, adjusted_mode, output); |