summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2021-01-23 15:21:28 -0800
committerJordan Justen <jordan.l.justen@intel.com>2021-02-12 18:15:51 -0800
commit6d6a853fe37d43b48b239f1a1e8d2c4d63357281 (patch)
treeb596d7f06e869a2ec3685a03070c10bad644c0ef /include
parent6a99535b086f8a913337b28f1fbe221a24ac0b9c (diff)
Rename queue_family_index to queue_num
This will allow us to (optionally) consider using all the queues on every queue family. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/framework/test/test.h2
-rw-r--r--include/tapi/t_data.h4
-rw-r--r--include/tapi/t_def.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/include/framework/test/test.h b/include/framework/test/test.h
index bbac027..770da0b 100644
--- a/include/framework/test/test.h
+++ b/include/framework/test/test.h
@@ -34,7 +34,7 @@ struct test_create_info {
bool enable_separate_cleanup_thread;
bool enable_bootstrap;
int device_id;
- uint32_t queue_family_index;
+ uint32_t queue_num;
bool verbose;
uint32_t bootstrap_image_width;
diff --git a/include/tapi/t_data.h b/include/tapi/t_data.h
index 49065e5..b453537 100644
--- a/include/tapi/t_data.h
+++ b/include/tapi/t_data.h
@@ -56,7 +56,7 @@ typedef struct cru_image cru_image_t;
#define t_pipeline_cache (*__t_pipeline_cache())
#define t_width (*__t_width())
#define t_height (*__t_height())
-#define t_queue_family_index (*__t_queue_family_index())
+#define t_queue_num (*__t_queue_num())
cru_image_t *t_ref_image(void);
cru_image_t *t_ref_stencil_image(void);
@@ -83,4 +83,4 @@ const VkFramebuffer *__t_framebuffer(void);
const VkPipelineCache *__t_pipeline_cache(void);
const uint32_t *__t_height(void);
const uint32_t *__t_width(void);
-const uint32_t * __t_queue_family_index(void);
+const uint32_t * __t_queue_num(void);
diff --git a/include/tapi/t_def.h b/include/tapi/t_def.h
index a865043..4021d4e 100644
--- a/include/tapi/t_def.h
+++ b/include/tapi/t_def.h
@@ -101,9 +101,9 @@ struct test_def {
struct test_def_priv {
bool enable;
- uint64_t queue_family_index;
- #define NO_QUEUE_FAMILY_INDEX_PREF 0x100000000
- #define INVALID_QUEUE_FAMILY_INDEX_PREF 0x100000001
+ uint64_t queue_num;
+ #define NO_QUEUE_NUM_PREF 0x100000000
+ #define INVALID_QUEUE_NUM_PREF 0x100000001
} priv;
} __attribute__((aligned(32)));