freedreno: Move msm_drm.h to the same spot as other DRM uapi.
authorEric Anholt <eric@anholt.net>
Mon, 13 May 2019 22:21:06 +0000 (15:21 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 14 May 2019 18:51:55 +0000 (11:51 -0700)
The new location matches other drivers, and has a README about the rules
for updating it.

Reviewed-by: Rob Clark <robdclark@gmail.com>
include/drm-uapi/msm_drm.h [moved from src/freedreno/drm/msm_drm.h with 100% similarity]
src/freedreno/Makefile.sources
src/freedreno/drm/meson.build
src/freedreno/drm/msm_priv.h
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_drm.c
src/freedreno/vulkan/tu_private.h

index a46a2c3..d8aaf2c 100644 (file)
@@ -12,7 +12,6 @@ drm_SOURCES := \
        drm/msm_priv.h \
        drm/freedreno_device.c \
        drm/freedreno_priv.h \
-       drm/msm_drm.h \
        drm/msm_ringbuffer.c
 
 ir3_SOURCES := \
index 5679d14..cee996a 100644 (file)
@@ -29,7 +29,6 @@ libfreedreno_drm_files = files(
   'freedreno_ringbuffer.h',
   'msm_bo.c',
   'msm_device.c',
-  'msm_drm.h',
   'msm_pipe.c',
   'msm_priv.h',
   'msm_ringbuffer.c',
index 44fb777..acf22bc 100644 (file)
@@ -33,7 +33,7 @@
 #  define __user
 #endif
 
-#include "msm_drm.h"
+#include "drm-uapi/msm_drm.h"
 
 struct msm_device {
        struct fd_device base;
index aae72c7..2e930d9 100644 (file)
@@ -42,7 +42,7 @@
 #include "vk_format.h"
 #include "vk_util.h"
 
-#include "drm/msm_drm.h"
+#include "drm-uapi/msm_drm.h"
 
 static int
 tu_device_get_cache_uuid(uint16_t family, void *uuid)
index 6904b01..9b2e6f7 100644 (file)
@@ -30,7 +30,7 @@
 #include <sys/ioctl.h>
 #include <xf86drm.h>
 
-#include "drm/msm_drm.h"
+#include "drm-uapi/msm_drm.h"
 
 static int
 tu_drm_get_param(const struct tu_physical_device *dev,
index 1c8bb87..c244047 100644 (file)
@@ -52,7 +52,7 @@
 #include "vk_debug_report.h"
 #include "wsi_common.h"
 
-#include "drm/msm_drm.h"
+#include "drm-uapi/msm_drm.h"
 #include "ir3/ir3_compiler.h"
 #include "ir3/ir3_shader.h"