diff options
author | Jordan Justen <[email protected]> | 2018-02-26 15:39:59 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2018-03-05 09:47:37 -0800 |
commit | 272bef0601a1bdb5292771aefc8d62fcbdf4c47f (patch) | |
tree | c94ae513a916ed81151067da24260bbb424e5deb /src/mesa/drivers | |
parent | 9a0d7bb48c93e7d0109751469a8b32c94e85bc24 (diff) |
intel: Split gen_device_info out into libintel_dev
Split out the device info so isl doesn't depend on intel/common. Now
it will depend on the new intel/dev device info lib.
This will allow the decoder in intel/common to use isl, allowing us to
apply Ken's patch that removes the genxml duplication of surface
formats.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/Makefile.am | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_bufmgr.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/genX_state_upload.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.h | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/meson.build | 3 |
5 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index da56f67fa5f..824882389ea 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -99,6 +99,7 @@ libi965_dri_la_SOURCES = \ $(i965_oa_GENERATED_FILES) libi965_dri_la_LIBADD = \ $(top_builddir)/src/intel/common/libintel_common.la \ + $(top_builddir)/src/intel/dev/libintel_dev.la \ $(top_builddir)/src/intel/isl/libisl.la \ $(top_builddir)/src/intel/compiler/libintel_compiler.la \ $(top_builddir)/src/intel/blorp/libblorp.la \ diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c index 2e54adb3ed2..f698123db4c 100644 --- a/src/mesa/drivers/dri/i965/brw_bufmgr.c +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c @@ -54,7 +54,7 @@ #endif #include "common/gen_clflush.h" #include "common/gen_debug.h" -#include "common/gen_device_info.h" +#include "dev/gen_device_info.h" #include "libdrm_macros.h" #include "main/macros.h" #include "util/macros.h" diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c index 001589a8dfe..0abe8e2d557 100644 --- a/src/mesa/drivers/dri/i965/genX_state_upload.c +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c @@ -23,7 +23,7 @@ #include <assert.h> -#include "common/gen_device_info.h" +#include "dev/gen_device_info.h" #include "common/gen_sample_positions.h" #include "genxml/gen_macros.h" diff --git a/src/mesa/drivers/dri/i965/intel_screen.h b/src/mesa/drivers/dri/i965/intel_screen.h index a2bce921449..8d56fcd9e7a 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.h +++ b/src/mesa/drivers/dri/i965/intel_screen.h @@ -34,7 +34,7 @@ #include "isl/isl.h" #include "dri_util.h" #include "brw_bufmgr.h" -#include "common/gen_device_info.h" +#include "dev/gen_device_info.h" #include "i915_drm.h" #include "util/xmlconfig.h" diff --git a/src/mesa/drivers/dri/i965/meson.build b/src/mesa/drivers/dri/i965/meson.build index e6866147d9f..b0bf40351da 100644 --- a/src/mesa/drivers/dri/i965/meson.build +++ b/src/mesa/drivers/dri/i965/meson.build @@ -174,7 +174,8 @@ libi965 = static_library( c_args : [c_vis_args, no_override_init_args, '-msse2'], cpp_args : [cpp_vis_args, '-msse2'], link_with : [ - i965_gen_libs, libintel_common, libisl, libintel_compiler, libblorp, + i965_gen_libs, libintel_common, libintel_dev, libisl, libintel_compiler, + libblorp, ], dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers], ) |