summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-08-23 20:18:28 -0400
committerAlex Deucher <[email protected]>2010-08-23 20:18:28 -0400
commitd1b4f4034796e607371536d43370c6fefc22811c (patch)
tree2c03d077940435707f5f7d9ee66ffeb983dbe618 /src/mesa
parent0e6a02d29915db2ca460206656ab517ddaf0b455 (diff)
radeon: print chip family for evergreen in renderer string
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_chipset.h2
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common_context.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_chipset.h b/src/mesa/drivers/dri/radeon/radeon_chipset.h
index 8efaa5b8e39..61106fbc43f 100644
--- a/src/mesa/drivers/dri/radeon/radeon_chipset.h
+++ b/src/mesa/drivers/dri/radeon/radeon_chipset.h
@@ -478,13 +478,11 @@ enum {
CHIP_FAMILY_RV730,
CHIP_FAMILY_RV710,
CHIP_FAMILY_RV740,
-
CHIP_FAMILY_CEDAR,
CHIP_FAMILY_REDWOOD,
CHIP_FAMILY_JUNIPER,
CHIP_FAMILY_CYPRESS,
CHIP_FAMILY_HEMLOCK,
-
CHIP_FAMILY_LAST
};
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.c b/src/mesa/drivers/dri/radeon/radeon_common_context.c
index 92663bf66d7..07f7cba354e 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.c
@@ -93,6 +93,11 @@ static const char* get_chip_family_name(int chip_family)
case CHIP_FAMILY_RV730: return "RV730";
case CHIP_FAMILY_RV710: return "RV710";
case CHIP_FAMILY_RV740: return "RV740";
+ case CHIP_FAMILY_CEDAR: return "CEDAR";
+ case CHIP_FAMILY_REDWOOD: return "REDWOOD";
+ case CHIP_FAMILY_JUNIPER: return "JUNIPER";
+ case CHIP_FAMILY_CYPRESS: return "CYPRESS";
+ case CHIP_FAMILY_HEMLOCK: return "HEMLOCK";
default: return "unknown";
}
}