xref: /aosp_15_r20/external/mesa3d/src/amd/vulkan/radv_spm.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright © 2016 Red Hat.
3  * Copyright © 2016 Bas Nieuwenhuizen
4  *
5  * based in part on anv driver which is:
6  * Copyright © 2015 Intel Corporation
7  *
8  * SPDX-License-Identifier: MIT
9  */
10 
11 #ifndef RADV_SPM_H
12 #define RADV_SPM_H
13 
14 #include "radv_device.h"
15 #include "radv_queue.h"
16 #include "radv_radeon_winsys.h"
17 
18 void radv_emit_spm_setup(struct radv_device *device, struct radeon_cmdbuf *cs, enum radv_queue_family qf);
19 
20 bool radv_spm_init(struct radv_device *device);
21 
22 void radv_spm_finish(struct radv_device *device);
23 
24 #endif /* RADV_SPM_H */
25