radv: set the chip name to GCN-NOOP when RADV_FORCE_FAMILY is set

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3654>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3654>
This commit is contained in:
Samuel Pitoiset 2020-01-31 14:36:37 +01:00
parent a8024aaaab
commit cd08d9abd7

View file

@ -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;