mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radv/gfx10: set RADV_FORCE_FAMILY
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
34b185cc43
commit
863727c4a3
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue