radv: add missing VEGA20 chip in radv_get_device_name()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 27 Apr 2019 10:07:51 +0000 (12:07 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 27 Apr 2019 10:16:23 +0000 (12:16 +0200)
Otherwise it returns "AMD RADV unknown".

Cc: 19.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index b7f991fce72c8a9f4ef28f53125f5e59af14105a..8340bf52c11e6a980ccf178c93555e916bee9cec 100644 (file)
@@ -112,6 +112,7 @@ radv_get_device_name(enum radeon_family family, char *name, size_t name_len)
        case CHIP_VEGAM: chip_string = "AMD RADV VEGA M"; break;
        case CHIP_VEGA10: chip_string = "AMD RADV VEGA10"; break;
        case CHIP_VEGA12: chip_string = "AMD RADV VEGA12"; break;
+       case CHIP_VEGA20: chip_string = "AMD RADV VEGA20"; break;
        case CHIP_RAVEN: chip_string = "AMD RADV RAVEN"; break;
        case CHIP_RAVEN2: chip_string = "AMD RADV RAVEN2"; break;
        default: chip_string = "AMD RADV unknown"; break;