From: Samuel Pitoiset Date: Tue, 25 Jun 2019 10:09:41 +0000 (+0200) Subject: radv/gfx10: set RADV_FORCE_FAMILY X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=863727c4a373ef3f652b6b8249ed05c54408fbb0;p=mesa.git radv/gfx10: set RADV_FORCE_FAMILY Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index d22d3d7a627..0ee2fa704dd 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -215,7 +215,9 @@ radv_handle_env_var_force_family(struct radv_physical_device *device) /* Override family and chip_class. */ device->rad_info.family = i; - if (i >= CHIP_VEGA10) + if (i >= CHIP_NAVI10) + device->rad_info.chip_class = GFX10; + else if (i >= CHIP_VEGA10) device->rad_info.chip_class = GFX9; else if (i >= CHIP_TONGA) device->rad_info.chip_class = GFX8;