radeonsi: don't build libradeon.la separately
authorMarek Olšák <marek.olsak@amd.com>
Mon, 2 Apr 2018 00:34:40 +0000 (20:34 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Apr 2018 19:34:58 +0000 (15:34 -0400)
for better parallelism

Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
configure.ac
src/gallium/Makefile.am
src/gallium/drivers/radeon/Makefile.am [deleted file]
src/gallium/drivers/radeon/Makefile.sources [deleted file]
src/gallium/drivers/radeonsi/Automake.inc
src/gallium/drivers/radeonsi/Makefile.am
src/gallium/drivers/radeonsi/Makefile.sources
src/gallium/targets/pipe-loader/Makefile.am

index e874f8ebfb20f1e8625f1c4607f6f1985b9d3607..c0318c1f1797c2d9903e8473a94f6df11c2c07d2 100644 (file)
@@ -2868,7 +2868,6 @@ AM_CONDITIONAL(HAVE_GALLIUM_PL111, test "x$HAVE_GALLIUM_PL111" = xyes)
 AM_CONDITIONAL(HAVE_GALLIUM_R300, test "x$HAVE_GALLIUM_R300" = xyes)
 AM_CONDITIONAL(HAVE_GALLIUM_R600, test "x$HAVE_GALLIUM_R600" = xyes)
 AM_CONDITIONAL(HAVE_GALLIUM_RADEONSI, test "x$HAVE_GALLIUM_RADEONSI" = xyes)
-AM_CONDITIONAL(HAVE_GALLIUM_RADEON_COMMON, test "x$HAVE_GALLIUM_RADEONSI" = xyes)
 AM_CONDITIONAL(HAVE_GALLIUM_NOUVEAU, test "x$HAVE_GALLIUM_NOUVEAU" = xyes)
 AM_CONDITIONAL(HAVE_GALLIUM_FREEDRENO, test "x$HAVE_GALLIUM_FREEDRENO" = xyes)
 AM_CONDITIONAL(HAVE_GALLIUM_ETNAVIV, test "x$HAVE_GALLIUM_ETNAVIV" = xyes)
@@ -3020,7 +3019,6 @@ AC_CONFIG_FILES([Makefile
                  src/gallium/drivers/pl111/Makefile
                  src/gallium/drivers/r300/Makefile
                  src/gallium/drivers/r600/Makefile
-                 src/gallium/drivers/radeon/Makefile
                  src/gallium/drivers/radeonsi/Makefile
                  src/gallium/drivers/rbug/Makefile
                  src/gallium/drivers/softpipe/Makefile
index 8170c9043da3dbedddf851c7889d8a4f408bd262..f1fd22cece2f0df47ba92e20f9a113870526e616 100644 (file)
@@ -42,11 +42,6 @@ if HAVE_GALLIUM_R300
 SUBDIRS += drivers/r300
 endif
 
-## radeon - linked into radeonsi
-if HAVE_GALLIUM_RADEON_COMMON
-SUBDIRS += drivers/radeon
-endif
-
 ## r600
 if HAVE_GALLIUM_R600
 SUBDIRS += drivers/r600
diff --git a/src/gallium/drivers/radeon/Makefile.am b/src/gallium/drivers/radeon/Makefile.am
deleted file mode 100644 (file)
index 1e1d49e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-
-AM_CFLAGS = \
-       $(GALLIUM_DRIVER_CFLAGS) \
-       $(RADEON_CFLAGS) \
-       -I$(top_srcdir)/src/amd/common
-
-noinst_LTLIBRARIES = libradeon.la
-
-libradeon_la_SOURCES = \
-       $(C_SOURCES)
-
-if HAVE_GALLIUM_LLVM
-
-AM_CFLAGS += \
-       $(LLVM_CFLAGS)
-
-libradeon_la_LIBADD = \
-       $(CLOCK_LIB) \
-       $(LLVM_LIBS)
-
-libradeon_la_LDFLAGS = \
-       $(LLVM_LDFLAGS)
-
-endif
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/drivers/radeon/Makefile.sources b/src/gallium/drivers/radeon/Makefile.sources
deleted file mode 100644 (file)
index fbd1ab6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-C_SOURCES := \
-       r600_perfcounter.c \
-       r600_pipe_common.h \
-       radeon_uvd.c \
-       radeon_uvd.h \
-       radeon_vcn_dec.c \
-       radeon_vcn_dec.h \
-       radeon_vcn_enc_1_2.c \
-       radeon_vcn_enc.c \
-       radeon_vcn_enc.h \
-       radeon_uvd_enc_1_1.c \
-       radeon_uvd_enc.c \
-       radeon_uvd_enc.h \
-       radeon_vce_40_2_2.c \
-       radeon_vce_50.c \
-       radeon_vce_52.c \
-       radeon_vce.c \
-       radeon_vce.h \
-       radeon_video.c \
-       radeon_video.h \
-       radeon_winsys.h
index 6f1843a3c647b1c93eaf83045c32d837b6d73cc5..740648d798b45c264e2a6ba37e170444f231001d 100644 (file)
@@ -16,7 +16,6 @@ TARGET_RADEON_WINSYS = \
        $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la
 
 TARGET_RADEON_COMMON = \
-       $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \
        $(top_builddir)/src/amd/common/libamd_common.la
 
 endif
index b39c55944cd1bb27164fce3921d1ced00ebc897a..62b877d4ea471eb857bf36d9bb8da753fa26b098 100644 (file)
@@ -37,6 +37,13 @@ noinst_LTLIBRARIES = libradeonsi.la
 
 libradeonsi_la_SOURCES = $(C_SOURCES)
 
+libradeonsi_la_LIBADD = \
+       $(CLOCK_LIB) \
+       $(LLVM_LIBS)
+
+libradeonsi_la_LDFLAGS = \
+       $(LLVM_LDFLAGS)
+
 GEN_DRIINFO_INPUTS = \
        $(top_srcdir)/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h \
        $(srcdir)/driinfo_radeonsi.h
index 3b1726d17dc006b75888e4d092b33c57c21250d8..6117005cbd386537b399e783ae0c3fe57853c0e0 100644 (file)
@@ -44,4 +44,24 @@ C_SOURCES := \
        si_state.h \
        si_test_dma.c \
        si_texture.c \
-       si_uvd.c
+       si_uvd.c \
+       ../radeon/r600_perfcounter.c \
+       ../radeon/r600_pipe_common.h \
+       ../radeon/radeon_uvd.c \
+       ../radeon/radeon_uvd.h \
+       ../radeon/radeon_vcn_dec.c \
+       ../radeon/radeon_vcn_dec.h \
+       ../radeon/radeon_vcn_enc_1_2.c \
+       ../radeon/radeon_vcn_enc.c \
+       ../radeon/radeon_vcn_enc.h \
+       ../radeon/radeon_uvd_enc_1_1.c \
+       ../radeon/radeon_uvd_enc.c \
+       ../radeon/radeon_uvd_enc.h \
+       ../radeon/radeon_vce_40_2_2.c \
+       ../radeon/radeon_vce_50.c \
+       ../radeon/radeon_vce_52.c \
+       ../radeon/radeon_vce.c \
+       ../radeon/radeon_vce.h \
+       ../radeon/radeon_video.c \
+       ../radeon/radeon_video.h \
+       ../radeon/radeon_winsys.h
index 4b84886f30051ce8837c317be8806dae09bd3895..bddc4e8b58481f8f5a87c5fe601e5a6677110f45 100644 (file)
@@ -143,7 +143,6 @@ pipe_radeonsi_la_LIBADD = \
        $(PIPE_LIBS) \
        $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
        $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la \
-       $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \
        $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \
        $(top_builddir)/src/amd/common/libamd_common.la \
        $(top_builddir)/src/util/libxmlconfig.la \