From 272bef0601a1bdb5292771aefc8d62fcbdf4c47f Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 26 Feb 2018 15:39:59 -0800 Subject: intel: Split gen_device_info out into libintel_dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Samuel Iglesias Gonsálvez --- src/intel/isl/isl_drm.c | 2 +- src/intel/isl/isl_format.c | 2 +- src/intel/isl/isl_priv.h | 2 +- src/intel/isl/meson.build | 2 +- src/intel/isl/tests/isl_surf_get_image_offset_test.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/intel/isl') diff --git a/src/intel/isl/isl_drm.c b/src/intel/isl/isl_drm.c index 31895e15e16..e16d7b63917 100644 --- a/src/intel/isl/isl_drm.c +++ b/src/intel/isl/isl_drm.c @@ -28,7 +28,7 @@ #include #include "isl.h" -#include "common/gen_device_info.h" +#include "dev/gen_device_info.h" uint32_t isl_tiling_to_i915_tiling(enum isl_tiling tiling) diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c index 03c591071b6..a5bbdbceb1a 100644 --- a/src/intel/isl/isl_format.c +++ b/src/intel/isl/isl_format.c @@ -24,7 +24,7 @@ #include #include "isl.h" -#include "common/gen_device_info.h" +#include "dev/gen_device_info.h" struct surface_format_info { bool exists; diff --git a/src/intel/isl/isl_priv.h b/src/intel/isl/isl_priv.h index b86167bb3af..871518409ee 100644 --- a/src/intel/isl/isl_priv.h +++ b/src/intel/isl/isl_priv.h @@ -27,7 +27,7 @@ #include #include -#include "common/gen_device_info.h" +#include "dev/gen_device_info.h" #include "util/macros.h" #include "isl.h" diff --git a/src/intel/isl/meson.build b/src/intel/isl/meson.build index 36b8b8ffa20..73a8837f2ad 100644 --- a/src/intel/isl/meson.build +++ b/src/intel/isl/meson.build @@ -95,7 +95,7 @@ if with_tests 'tests/isl_surf_get_image_offset_test.c', dependencies : dep_m, include_directories : [inc_common, inc_intel], - link_with : [libisl, libintel_common], + link_with : [libisl, libintel_dev], ) ) endif diff --git a/src/intel/isl/tests/isl_surf_get_image_offset_test.c b/src/intel/isl/tests/isl_surf_get_image_offset_test.c index 05fd79f3a94..16c80c312e9 100644 --- a/src/intel/isl/tests/isl_surf_get_image_offset_test.c +++ b/src/intel/isl/tests/isl_surf_get_image_offset_test.c @@ -26,7 +26,7 @@ #include #include -#include "common/gen_device_info.h" +#include "dev/gen_device_info.h" #include "isl/isl.h" #include "isl/isl_priv.h" -- cgit v1.2.3