From: Samuel Pitoiset Date: Fri, 31 Jan 2020 13:36:37 +0000 (+0100) Subject: radv: set the chip name to GCN-NOOP when RADV_FORCE_FAMILY is set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd08d9abd76ce0002572639c26c79e051a2a0549;p=mesa.git radv: set the chip name to GCN-NOOP when RADV_FORCE_FAMILY is set Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Tested-by: Marge Bot Part-of: --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 4fc412dbc9c..de98dd86719 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -300,6 +300,7 @@ radv_handle_env_var_force_family(struct radv_physical_device *device) if (!strcmp(family, ac_get_llvm_processor_name(i))) { /* Override family and chip_class. */ device->rad_info.family = i; + device->rad_info.name = "OVERRIDDEN"; if (i >= CHIP_NAVI10) device->rad_info.chip_class = GFX10;