diff options
author | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2008-05-09 05:28:44 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2008-05-09 05:28:44 -0400 |
commit | 94405eb1c9e4e0ababc6aef03b753d6ed9eb7838 (patch) | |
tree | 36a1a9abd2fd94f60b78660dc36c7f2e50a43462 /src/radeon_video.c | |
parent | 18e20bc22a55ecfee9798c01079d7b24d19f0051 (diff) |
RADEON: fixup ifdef from last commit
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r-- | src/radeon_video.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c index 1c13dcd4..4cd35134 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -286,19 +286,19 @@ void RADEONInitVideo(ScreenPtr pScreen) } if (info->ChipFamily != CHIP_FAMILY_RV250) { + if ((info->ChipFamily < CHIP_FAMILY_RS400) #ifdef XF86DRI - if ((info->ChipFamily < CHIP_FAMILY_RS400) || (info->directRenderingEnabled)) { + || (info->directRenderingEnabled) #endif - texturedAdaptor = RADEONSetupImageTexturedVideo(pScreen); - if (texturedAdaptor != NULL) { - adaptors[num_adaptors++] = texturedAdaptor; - xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Set up textured video\n"); + ) { + texturedAdaptor = RADEONSetupImageTexturedVideo(pScreen); + if (texturedAdaptor != NULL) { + adaptors[num_adaptors++] = texturedAdaptor; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Set up textured video\n"); + } else + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Failed to set up textured video\n"); } else - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Failed to set up textured video\n"); -#ifdef XF86DRI - } else xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Textured video requires CP on R5xx/IGP\n"); -#endif } else xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Textured video disabled on RV250 due to HW bug\n"); |