projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b185c
)
radv/gfx10: set RADV_FORCE_FAMILY
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Tue, 25 Jun 2019 10:09:41 +0000
(12:09 +0200)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Sun, 7 Jul 2019 15:03:38 +0000
(17:03 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index d22d3d7a627abba63f98c2fe3f45d0c2336831d5..0ee2fa704dd836d4b7ffee455471e04dfab9e434 100644
(file)
--- 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;