summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-06-06 08:33:53 +1000
committerDave Airlie <[email protected]>2017-06-06 09:43:21 +1000
commit0063da8393cb71a3db014371f0d26121ccfb11f8 (patch)
tree5debf46e58038c06933246d4509ffcc6631814d1 /src/amd/vulkan/radv_device.c
parenta83f28d536d97615047f29ffb5f651a8afafb568 (diff)
radv: add some misc gfx9 pieces.
This just adds the strings and includes the gfx9 register defs in some files that we need them in. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index d80d74628b1..59ce2d02a55 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -42,6 +42,7 @@
#include "ac_llvm_util.h"
#include "vk_format.h"
#include "sid.h"
+#include "gfx9d.h"
#include "util/debug.h"
static int
@@ -230,6 +231,8 @@ get_chip_name(enum radeon_family family)
case CHIP_POLARIS11: return "AMD RADV POLARIS11";
case CHIP_POLARIS12: return "AMD RADV POLARIS12";
case CHIP_STONEY: return "AMD RADV STONEY";
+ case CHIP_VEGA10: return "AMD RADV VEGA";
+ case CHIP_RAVEN: return "AMD RADV RAVEN";
default: return "AMD RADV unknown";
}
}
@@ -975,6 +978,8 @@ radv_device_init_gs_info(struct radv_device *device)
case CHIP_POLARIS10:
case CHIP_POLARIS11:
case CHIP_POLARIS12:
+ case CHIP_VEGA10:
+ case CHIP_RAVEN:
device->gs_table_depth = 32;
return;
default:
@@ -1476,6 +1481,7 @@ radv_get_hs_offchip_param(struct radv_device *device, uint32_t *max_offchip_buff
break;
case CIK:
case VI:
+ case GFX9:
default:
max_offchip_buffers = MIN2(max_offchip_buffers, 508);
break;