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:
committed by
Marge Bot
parent
4253ad9999
commit
ea98467a2d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user