radeonsi: move r600_gpu_load.c to si_gpu_load.c

Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Marek Olšák 2018-04-01 18:51:44 -04:00
parent f7f4ba5306
commit d58080b318
7 changed files with 11 additions and 11 deletions

View file

@ -5,9 +5,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
$(GALLIUM_DRIVER_CFLAGS) \
$(RADEON_CFLAGS) \
-I$(top_srcdir)/src/amd/common \
-Wstrict-overflow=0
# ^^ disable warnings about overflows (os_time_timeout)
-I$(top_srcdir)/src/amd/common
noinst_LTLIBRARIES = libradeon.la

View file

@ -1,6 +1,5 @@
C_SOURCES := \
r600_buffer_common.c \
r600_gpu_load.c \
r600_perfcounter.c \
r600_pipe_common.h \
r600_texture.c \

View file

@ -425,12 +425,6 @@ void si_replace_buffer_storage(struct pipe_context *ctx,
void si_init_screen_buffer_functions(struct si_screen *sscreen);
void si_init_buffer_functions(struct si_context *sctx);
/* r600_gpu_load.c */
void si_gpu_load_kill_thread(struct si_screen *sscreen);
uint64_t si_begin_counter(struct si_screen *sscreen, unsigned type);
unsigned si_end_counter(struct si_screen *sscreen, unsigned type,
uint64_t begin);
/* r600_perfcounters.c */
void si_perfcounters_destroy(struct si_screen *sscreen);

View file

@ -29,7 +29,9 @@ AM_CFLAGS = \
-I$(top_builddir)/src/compiler/nir \
-I$(top_srcdir)/src/amd/common \
$(RADEON_CFLAGS) \
$(LLVM_CFLAGS)
$(LLVM_CFLAGS) \
-Wstrict-overflow=0
# ^^ disable warnings about overflows (os_time_timeout)
noinst_LTLIBRARIES = libradeonsi.la

View file

@ -17,6 +17,7 @@ C_SOURCES := \
si_fence.c \
si_get.c \
si_gfx_cs.c \
si_gpu_load.c \
si_pipe.c \
si_pipe.h \
si_pm4.c \

View file

@ -831,6 +831,12 @@ void si_flush_gfx_cs(struct si_context *ctx, unsigned flags,
void si_begin_new_gfx_cs(struct si_context *ctx);
void si_need_gfx_cs_space(struct si_context *ctx);
/* r600_gpu_load.c */
void si_gpu_load_kill_thread(struct si_screen *sscreen);
uint64_t si_begin_counter(struct si_screen *sscreen, unsigned type);
unsigned si_end_counter(struct si_screen *sscreen, unsigned type,
uint64_t begin);
/* si_compute.c */
void si_init_compute_functions(struct si_context *sctx);