radv: move queue related code to radv_queue.c
radv_device.c is getting too big and this follows the Vulkan common runtime infrastructure. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21767>
This commit is contained in:

committed by
Marge Bot

parent
4e5db63482
commit
7a157b3a4c
@@ -100,6 +100,7 @@ libradv_files = files(
|
||||
'radv_pipeline_cache.c',
|
||||
'radv_pipeline_rt.c',
|
||||
'radv_private.h',
|
||||
'radv_queue.c',
|
||||
'radv_radeon_winsys.h',
|
||||
'radv_rmv.c',
|
||||
'radv_rra.c',
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -841,6 +841,15 @@ struct radv_queue {
|
||||
struct radeon_winsys_bo *gang_sem_bo;
|
||||
};
|
||||
|
||||
int radv_queue_init(struct radv_device *device, struct radv_queue *queue, int idx,
|
||||
const VkDeviceQueueCreateInfo *create_info,
|
||||
const VkDeviceQueueGlobalPriorityCreateInfoKHR *global_priority);
|
||||
|
||||
void radv_queue_finish(struct radv_queue *queue);
|
||||
|
||||
enum radeon_ctx_priority
|
||||
radv_get_queue_global_priority(const VkDeviceQueueGlobalPriorityCreateInfoKHR *pObj);
|
||||
|
||||
#define RADV_BORDER_COLOR_COUNT 4096
|
||||
#define RADV_BORDER_COLOR_BUFFER_SIZE (sizeof(VkClearColorValue) * RADV_BORDER_COLOR_COUNT)
|
||||
|
||||
|
1890
src/amd/vulkan/radv_queue.c
Normal file
1890
src/amd/vulkan/radv_queue.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user