Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/freedreno/vulkan/tu_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
#include "vk_pipeline_cache.h"
#include "vk_queue.h"
#include "vk_sync.h"
#include "vk_sync_binary.h"
#include "vk_sync_timeline.h"
#include "wsi_common.h"

Expand Down
7 changes: 7 additions & 0 deletions src/freedreno/vulkan/tu_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ struct tu_queue_family {
const VkQueueFamilyProperties *properties;
};

enum tu_kgsl_sync_impl_type {
TU_KGSL_SYNC_IMPL_TYPE_SYNCOBJ,
TU_KGSL_SYNC_IMPL_TYPE_TIMELINE,
};

extern uint64_t os_page_size;

struct tu_physical_device
Expand Down Expand Up @@ -176,7 +181,9 @@ struct tu_physical_device

struct tu_memory_heap heap;

enum tu_kgsl_sync_impl_type kgsl_sync_impl_type;
struct vk_sync_type syncobj_type;
struct vk_sync_binary_type binary_type;
struct vk_sync_timeline_type timeline_type;
const struct vk_sync_type *sync_types[3];

Expand Down
Loading
Loading