mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
anv: remove ALWAYS_INLINE from globally visible functions
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34433>
This commit is contained in:
parent
bcaf08b47c
commit
d123aedfc7
1 changed files with 34 additions and 26 deletions
|
|
@ -2420,32 +2420,15 @@ genX(cmd_buffer_emit_push_descriptor_surfaces)(struct anv_cmd_buffer *cmd_buffer
|
|||
}
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void
|
||||
genX(batch_emit_pipe_control)(struct anv_batch *batch,
|
||||
const struct intel_device_info *devinfo,
|
||||
uint32_t current_pipeline,
|
||||
enum anv_pipe_bits bits,
|
||||
const char *reason)
|
||||
{
|
||||
genX(batch_emit_pipe_control_write)(batch,
|
||||
devinfo,
|
||||
current_pipeline,
|
||||
NoWrite,
|
||||
ANV_NULL_ADDRESS,
|
||||
0,
|
||||
bits,
|
||||
reason);
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void
|
||||
genX(batch_emit_pipe_control_write)(struct anv_batch *batch,
|
||||
const struct intel_device_info *devinfo,
|
||||
uint32_t current_pipeline,
|
||||
uint32_t post_sync_op,
|
||||
struct anv_address address,
|
||||
uint32_t imm_data,
|
||||
enum anv_pipe_bits bits,
|
||||
const char *reason)
|
||||
static void
|
||||
emit_pipe_control(struct anv_batch *batch,
|
||||
const struct intel_device_info *devinfo,
|
||||
uint32_t current_pipeline,
|
||||
uint32_t post_sync_op,
|
||||
struct anv_address address,
|
||||
uint32_t imm_data,
|
||||
enum anv_pipe_bits bits,
|
||||
const char *reason)
|
||||
{
|
||||
if ((batch->engine_class == INTEL_ENGINE_CLASS_COPY) ||
|
||||
(batch->engine_class == INTEL_ENGINE_CLASS_VIDEO))
|
||||
|
|
@ -2606,6 +2589,31 @@ genX(batch_emit_pipe_control_write)(struct anv_batch *batch,
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
genX(batch_emit_pipe_control)(struct anv_batch *batch,
|
||||
const struct intel_device_info *devinfo,
|
||||
uint32_t current_pipeline,
|
||||
enum anv_pipe_bits bits,
|
||||
const char *reason)
|
||||
{
|
||||
emit_pipe_control(batch, devinfo, current_pipeline,
|
||||
NoWrite, ANV_NULL_ADDRESS, 0, bits, reason);
|
||||
}
|
||||
|
||||
void
|
||||
genX(batch_emit_pipe_control_write)(struct anv_batch *batch,
|
||||
const struct intel_device_info *devinfo,
|
||||
uint32_t current_pipeline,
|
||||
uint32_t post_sync_op,
|
||||
struct anv_address address,
|
||||
uint32_t imm_data,
|
||||
enum anv_pipe_bits bits,
|
||||
const char *reason)
|
||||
{
|
||||
emit_pipe_control(batch, devinfo, current_pipeline,
|
||||
post_sync_op, address, imm_data, bits, reason);
|
||||
}
|
||||
|
||||
/* Set preemption on/off. */
|
||||
void
|
||||
genX(batch_set_preemption)(struct anv_batch *batch,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue