summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2019-07-26 09:01:25 -0700
committerChad Versace <[email protected]>2019-07-26 09:40:19 -0700
commit235b3ba48e4b4e5689afe15ce29a1422131932c8 (patch)
treec5b7066eec9cdcf23d3a955b08d0ec449cacb4a2
parentd10de2530976ed3aba9c5d077e2edb141f71e7dd (diff)
anv: Include drm_fourcc.h in anv_private.h
To allow use of DRM_FORMAT_MOD_INVALID in future inline functions for struct anv_tiling.
-rw-r--r--src/intel/vulkan/anv_device.c1
-rw-r--r--src/intel/vulkan/anv_formats.c1
-rw-r--r--src/intel/vulkan/anv_image.c1
-rw-r--r--src/intel/vulkan/anv_private.h1
4 files changed, 1 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 217a779576c..127b736be54 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -29,7 +29,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <xf86drm.h>
-#include "drm-uapi/drm_fourcc.h"
#include "anv_private.h"
#include "util/strtod.h"
diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c
index 362d9ad6f27..7067f062dfb 100644
--- a/src/intel/vulkan/anv_formats.c
+++ b/src/intel/vulkan/anv_formats.c
@@ -22,7 +22,6 @@
*/
#include "anv_private.h"
-#include "drm-uapi/drm_fourcc.h"
#include "vk_enum_to_str.h"
#include "vk_format_info.h"
#include "vk_util.h"
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index 36c43f26634..f739ea6befd 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -27,7 +27,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
-#include "drm-uapi/drm_fourcc.h"
#include "anv_private.h"
#include "util/debug.h"
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index aa799d2aefc..1be654559d2 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -43,6 +43,7 @@
#define VG(x)
#endif
+#include "drm-uapi/drm_fourcc.h"
#include "common/gen_clflush.h"
#include "common/gen_decoder.h"
#include "common/gen_gem.h"