Fixes out-of-tree build issue where uapi/drm/nouveau_drm.h gets picked up instead. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
@@ -23,7 +23,7 @@
#include <drm/drmP.h>
-#include "nouveau_drm.h"
+#include "nouveau_drv.h"
#include "nouveau_reg.h"
#include "hw.h"
@@ -28,8 +28,9 @@
#include <drm/drm_crtc_helper.h>
#include <drm/drm_plane_helper.h>
+#include "nouveau_ttm.h"
#include "nouveau_bo.h"
#include "nouveau_gem.h"
#include "nouveau_encoder.h"
@@ -1,6 +1,6 @@
#include <drm/drm_mode.h>
#include "nouveau_crtc.h"
@@ -27,7 +27,7 @@
#include "nouveau_connector.h"
@@ -25,7 +25,7 @@
#ifndef __NV04_DISPLAY_H__
#define __NV04_DISPLAY_H__
-
+#include <subdev/bios.h>
#include <subdev/bios/pll.h>
#include "nouveau_display.h"
*/
#include <drm/drm_crtc.h>
#include <drm/drm_fourcc.h>
@@ -26,7 +26,7 @@
@@ -29,7 +29,7 @@
#include <nvif/cla06f.h>
#include <nvif/unpack.h>
#include "nouveau_dma.h"
#include "nouveau_chan.h"
@@ -6,7 +6,7 @@
#include <drm/drm_edid.h>
#include <acpi/video.h>
#include "nouveau_acpi.h"
#define NOUVEAU_DSM_LED 0x02
@@ -32,7 +32,7 @@
#include <linux/backlight.h>
@@ -24,7 +24,7 @@
#include "dispnv04/hw.h"
@@ -30,7 +30,7 @@
#include <linux/dma-mapping.h>
#include <linux/swiotlb.h>
#include "nouveau_fence.h"
@@ -34,7 +34,7 @@
/*XXX*/
#include <core/client.h>
#include <nvif/class.h>
#include <nvif/if0001.h>
#include "nouveau_debugfs.h"
static int
nouveau_debugfs_vbios_image(struct seq_file *m, void *data)
@@ -5,7 +5,7 @@
#if defined(CONFIG_DEBUG_FS)
struct nouveau_debugfs {
struct nvif_object ctrl;
@@ -3,7 +3,7 @@
#include <subdev/mmu.h>
struct nouveau_framebuffer {
struct drm_framebuffer base;
*
void
#include <drm/drm_dp_helper.h>
@@ -44,7 +44,7 @@
#include <nvif/if0004.h>
#include "nouveau_ttm.h"
@@ -1,5 +1,5 @@
-#ifndef __NOUVEAU_DRMCLI_H__
-#define __NOUVEAU_DRMCLI_H__
+#ifndef __NOUVEAU_DRV_H__
+#define __NOUVEAU_DRV_H__
#define DRIVER_AUTHOR "Nouveau Project"
#define DRIVER_EMAIL "nouveau@lists.freedesktop.org"
@@ -43,7 +43,7 @@
#include <drm/drm_fb_helper.h>
#include "nouveau_fbcon.h"
#include <nvif/notify.h>
#include <nvif/event.h>
#include "nouveau_abi16.h"
#define nouveau_bo_tile_layout(nvbo) \
@@ -31,7 +31,7 @@
#include "nouveau_hwmon.h"
#include <nvkm/subdev/iccsense.h>
@@ -36,7 +36,7 @@
#include <nvif/ioctl.h>
#include "nouveau_usif.h"
static void
@@ -21,7 +21,7 @@
#ifndef __NOUVEAU_PLATFORM_H__
#define __NOUVEAU_PLATFORM_H__
extern struct platform_driver nouveau_platform_driver;
#endif
#include <linux/dma-buf.h>
struct sg_table *nouveau_gem_prime_get_sg_table(struct drm_gem_object *obj)
@@ -1,7 +1,7 @@
#include <linux/pagemap.h>
#include <linux/slab.h>
struct nouveau_sgdma_be {
* USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -22,7 +22,7 @@
* Authors: Ben Skeggs <bskeggs@redhat.com>
@@ -4,7 +4,7 @@
#include "nouveau_vga.h"
* DEALINGS IN THE SOFTWARE.
* Authors: Ben Skeggs
#include "nv10_fence.h"
#include <nvif/cl0002.h>
@@ -39,7 +39,7 @@
#include <nvif/cl507d.h>
#include <nvif/cl507e.h>