radv: rename si_cmd_buffer.c to radv_cs.c
This file now mostly contain CS related functions. Also move prototypes while we are at it. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28551>
This commit is contained in:
committed by
Marge Bot
parent
e133fb7c3b
commit
f090f7186b
@@ -116,6 +116,7 @@ libradv_files = files(
|
||||
'radv_cp_dma.h',
|
||||
'radv_cp_reg_shadowing.c',
|
||||
'radv_cp_reg_shadowing.h',
|
||||
'radv_cs.c',
|
||||
'radv_cs.h',
|
||||
'radv_debug.c',
|
||||
'radv_debug.h',
|
||||
@@ -180,7 +181,6 @@ libradv_files = files(
|
||||
'radv_video.h',
|
||||
'radv_wsi.c',
|
||||
'radv_wsi.h',
|
||||
'si_cmd_buffer.c',
|
||||
)
|
||||
|
||||
if not with_platform_windows
|
||||
|
||||
@@ -270,4 +270,17 @@ radv_cs_write_data(const struct radv_device *device, struct radeon_cmdbuf *cs, c
|
||||
assert(cs->cdw == cdw_end);
|
||||
}
|
||||
|
||||
void radv_cs_emit_write_event_eop(struct radeon_cmdbuf *cs, enum amd_gfx_level gfx_level, enum radv_queue_family qf,
|
||||
unsigned event, unsigned event_flags, unsigned dst_sel, unsigned data_sel,
|
||||
uint64_t va, uint32_t new_fence, uint64_t gfx9_eop_bug_va);
|
||||
|
||||
void radv_cs_emit_cache_flush(struct radeon_winsys *ws, struct radeon_cmdbuf *cs, enum amd_gfx_level gfx_level,
|
||||
uint32_t *flush_cnt, uint64_t flush_va, enum radv_queue_family qf,
|
||||
enum radv_cmd_flush_bits flush_bits, enum rgp_flush_bits *sqtt_flush_bits,
|
||||
uint64_t gfx9_eop_bug_va);
|
||||
|
||||
void radv_emit_cond_exec(const struct radv_device *device, struct radeon_cmdbuf *cs, uint64_t va, uint32_t count);
|
||||
|
||||
void radv_cs_write_data_imm(struct radeon_cmdbuf *cs, unsigned engine_sel, uint64_t va, uint32_t imm);
|
||||
|
||||
#endif /* RADV_CS_H */
|
||||
|
||||
@@ -201,18 +201,6 @@ struct radv_shader_binary_part;
|
||||
|
||||
struct radv_ray_tracing_pipeline;
|
||||
|
||||
void radv_cs_emit_write_event_eop(struct radeon_cmdbuf *cs, enum amd_gfx_level gfx_level, enum radv_queue_family qf,
|
||||
unsigned event, unsigned event_flags, unsigned dst_sel, unsigned data_sel,
|
||||
uint64_t va, uint32_t new_fence, uint64_t gfx9_eop_bug_va);
|
||||
|
||||
void radv_cs_emit_cache_flush(struct radeon_winsys *ws, struct radeon_cmdbuf *cs, enum amd_gfx_level gfx_level,
|
||||
uint32_t *flush_cnt, uint64_t flush_va, enum radv_queue_family qf,
|
||||
enum radv_cmd_flush_bits flush_bits, enum rgp_flush_bits *sqtt_flush_bits,
|
||||
uint64_t gfx9_eop_bug_va);
|
||||
void radv_emit_cond_exec(const struct radv_device *device, struct radeon_cmdbuf *cs, uint64_t va, uint32_t count);
|
||||
|
||||
void radv_cs_write_data_imm(struct radeon_cmdbuf *cs, unsigned engine_sel, uint64_t va, uint32_t imm);
|
||||
|
||||
struct radv_ray_tracing_group;
|
||||
|
||||
struct radv_ray_tracing_stage;
|
||||
|
||||
Reference in New Issue
Block a user