mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 15:00:11 +01:00
panvk: Make panvk_queue per-gen
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Rebecca Mckeever <rebecca.mckeever@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28170>
This commit is contained in:
parent
4253ad9999
commit
ea98467a2d
1 changed files with 4 additions and 2 deletions
|
|
@ -6,6 +6,10 @@
|
|||
#ifndef PANVK_QUEUE_H
|
||||
#define PANVK_QUEUE_H
|
||||
|
||||
#ifndef PAN_ARCH
|
||||
#error "PAN_ARCH must be defined"
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "vk_queue.h"
|
||||
|
|
@ -32,10 +36,8 @@ panvk_queue_finish(struct panvk_queue *queue)
|
|||
drmSyncobjDestroy(dev->vk.drm_fd, queue->sync);
|
||||
}
|
||||
|
||||
#ifdef PAN_ARCH
|
||||
VkResult panvk_per_arch(queue_init)(struct panvk_device *device,
|
||||
struct panvk_queue *queue, int idx,
|
||||
const VkDeviceQueueCreateInfo *create_info);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue