radv: Make inhibiting clockgating not static.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16879>
This commit is contained in:
parent
80a3c218eb
commit
2769018e39
|
@ -2854,6 +2854,9 @@ void radv_emit_thread_trace_userdata(struct radv_cmd_buffer *cmd_buffer, const v
|
||||||
uint32_t num_dwords);
|
uint32_t num_dwords);
|
||||||
bool radv_is_instruction_timing_enabled(void);
|
bool radv_is_instruction_timing_enabled(void);
|
||||||
|
|
||||||
|
void radv_emit_inhibit_clockgating(struct radv_device *device, struct radeon_cmdbuf *cs,
|
||||||
|
bool inhibit);
|
||||||
|
|
||||||
bool radv_sdma_copy_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image,
|
bool radv_sdma_copy_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image,
|
||||||
struct radv_buffer *buffer, const VkBufferImageCopy2 *region);
|
struct radv_buffer *buffer, const VkBufferImageCopy2 *region);
|
||||||
|
|
||||||
|
|
|
@ -384,7 +384,7 @@ radv_emit_spi_config_cntl(struct radv_device *device, struct radeon_cmdbuf *cs,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
radv_emit_inhibit_clockgating(struct radv_device *device, struct radeon_cmdbuf *cs, bool inhibit)
|
radv_emit_inhibit_clockgating(struct radv_device *device, struct radeon_cmdbuf *cs, bool inhibit)
|
||||||
{
|
{
|
||||||
if (device->physical_device->rad_info.gfx_level >= GFX11)
|
if (device->physical_device->rad_info.gfx_level >= GFX11)
|
||||||
|
|
Loading…
Reference in New Issue