freedreno: Move msm_drm.h to the same spot as other DRM uapi.

The new location matches other drivers, and has a README about the rules
for updating it.

Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Eric Anholt
2019-05-13 15:21:06 -07:00
parent 32d259713b
commit 18d11cb4dc
7 changed files with 4 additions and 6 deletions

View File

@@ -12,7 +12,6 @@ drm_SOURCES := \
drm/msm_priv.h \ drm/msm_priv.h \
drm/freedreno_device.c \ drm/freedreno_device.c \
drm/freedreno_priv.h \ drm/freedreno_priv.h \
drm/msm_drm.h \
drm/msm_ringbuffer.c drm/msm_ringbuffer.c
ir3_SOURCES := \ ir3_SOURCES := \

View File

@@ -29,7 +29,6 @@ libfreedreno_drm_files = files(
'freedreno_ringbuffer.h', 'freedreno_ringbuffer.h',
'msm_bo.c', 'msm_bo.c',
'msm_device.c', 'msm_device.c',
'msm_drm.h',
'msm_pipe.c', 'msm_pipe.c',
'msm_priv.h', 'msm_priv.h',
'msm_ringbuffer.c', 'msm_ringbuffer.c',

View File

@@ -33,7 +33,7 @@
# define __user # define __user
#endif #endif
#include "msm_drm.h" #include "drm-uapi/msm_drm.h"
struct msm_device { struct msm_device {
struct fd_device base; struct fd_device base;

View File

@@ -42,7 +42,7 @@
#include "vk_format.h" #include "vk_format.h"
#include "vk_util.h" #include "vk_util.h"
#include "drm/msm_drm.h" #include "drm-uapi/msm_drm.h"
static int static int
tu_device_get_cache_uuid(uint16_t family, void *uuid) tu_device_get_cache_uuid(uint16_t family, void *uuid)

View File

@@ -30,7 +30,7 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <xf86drm.h> #include <xf86drm.h>
#include "drm/msm_drm.h" #include "drm-uapi/msm_drm.h"
static int static int
tu_drm_get_param(const struct tu_physical_device *dev, tu_drm_get_param(const struct tu_physical_device *dev,

View File

@@ -52,7 +52,7 @@
#include "vk_debug_report.h" #include "vk_debug_report.h"
#include "wsi_common.h" #include "wsi_common.h"
#include "drm/msm_drm.h" #include "drm-uapi/msm_drm.h"
#include "ir3/ir3_compiler.h" #include "ir3/ir3_compiler.h"
#include "ir3/ir3_shader.h" #include "ir3/ir3_shader.h"