From: Pauli Nieminen Date: Mon, 27 Jul 2009 14:13:48 +0000 (+0300) Subject: radeon: Add r6xx/r7xx chip family to get_chip_family_name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b142866abb3097a84cf4b6dae69423154ab40a6;p=mesa.git radeon: Add r6xx/r7xx chip family to get_chip_family_name This fixes problem that glxinfo was reporting r600+ cards as unknown. Signed-off-by: Pauli Nieminen --- diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.c b/src/mesa/drivers/dri/radeon/radeon_common_context.c index 285e015c924..a50cd056e1c 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_common_context.c @@ -85,6 +85,17 @@ static const char* get_chip_family_name(int chip_family) case CHIP_FAMILY_R580: return "R580"; case CHIP_FAMILY_RV560: return "RV560"; case CHIP_FAMILY_RV570: return "RV570"; + case CHIP_FAMILY_R600: return "R600"; + case CHIP_FAMILY_RV610: return "RV610"; + case CHIP_FAMILY_RV630: return "RV630"; + case CHIP_FAMILY_RV670: return "RV670"; + case CHIP_FAMILY_RV620: return "RV620"; + case CHIP_FAMILY_RV635: return "RV635"; + case CHIP_FAMILY_RS780: return "RS780"; + case CHIP_FAMILY_RV770: return "RV770"; + case CHIP_FAMILY_RV730: return "RV730"; + case CHIP_FAMILY_RV710: return "RV710"; + case CHIP_FAMILY_RV740: return "RV740"; default: return "unknown"; } }