summaryrefslogtreecommitdiff
path: root/src/radeon_dri2.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-08 11:26:32 +1000
committerDave Airlie <airlied@redhat.com>2009-09-08 11:26:32 +1000
commit6990f2ac6478bf92929a4400ef84fb2142699204 (patch)
treed24f40c20909f81ac363d6f283ce8bd2a4fca8ea /src/radeon_dri2.c
parent917f2d7cd1815279710939edc27133ca6609460f (diff)
parent853f4c3d1ea8f975ab2855f18d3ae336a4095091 (diff)
Merge branch 'r6xx-cs'
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r--src/radeon_dri2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index 051cc78..e94107c 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -362,7 +362,9 @@ radeon_dri2_screen_init(ScreenPtr pScreen)
return FALSE;
}
- if ( (info->ChipFamily >= CHIP_FAMILY_R300) ) {
+ if ( (info->ChipFamily >= CHIP_FAMILY_R600) ) {
+ dri2_info.driverName = R600_DRIVER_NAME;
+ } else if ( (info->ChipFamily >= CHIP_FAMILY_R300) ) {
dri2_info.driverName = R300_DRIVER_NAME;
} else if ( info->ChipFamily >= CHIP_FAMILY_R200 ) {
dri2_info.driverName = R200_DRIVER_NAME;