diff options
-rw-r--r-- | drm/dispnv04/disp.c | 5 | ||||
-rw-r--r-- | drm/dispnv04/tvnv17.c | 4 | ||||
-rw-r--r-- | drm/nouveau_abi16.c | 7 | ||||
-rw-r--r-- | drm/nouveau_agp.c | 2 | ||||
-rw-r--r-- | drm/nouveau_bo.c | 2 | ||||
-rw-r--r-- | drm/nouveau_chan.c | 7 | ||||
-rw-r--r-- | drm/nouveau_connector.h | 4 | ||||
-rw-r--r-- | drm/nouveau_display.c | 3 | ||||
-rw-r--r-- | drm/nouveau_dma.c | 2 | ||||
-rw-r--r-- | drm/nouveau_dp.c | 2 | ||||
-rw-r--r-- | drm/nouveau_drm.c | 2 | ||||
-rw-r--r-- | drm/nouveau_drm.h | 5 | ||||
-rw-r--r-- | drm/nouveau_fbcon.c | 3 | ||||
-rw-r--r-- | drm/nouveau_sysfs.c | 6 | ||||
-rw-r--r-- | drm/nouveau_ttm.c | 1 | ||||
-rw-r--r-- | drm/nv04_fbcon.c | 2 | ||||
-rw-r--r-- | drm/nv10_fence.c | 3 | ||||
-rw-r--r-- | drm/nv10_fence.h | 1 | ||||
-rw-r--r-- | drm/nv17_fence.c | 4 | ||||
-rw-r--r-- | drm/nv50_display.c | 4 | ||||
-rw-r--r-- | drm/nv50_fence.c | 4 | ||||
-rw-r--r-- | drm/nv84_fence.c | 4 | ||||
-rw-r--r-- | drm/nvc0_fence.c | 4 |
23 files changed, 22 insertions, 59 deletions
diff --git a/drm/dispnv04/disp.c b/drm/dispnv04/disp.c index 0f02df21a..3d0afa1c6 100644 --- a/drm/dispnv04/disp.c +++ b/drm/dispnv04/disp.c @@ -22,9 +22,6 @@ * Author: Ben Skeggs */ -#include <core/object.h> -#include <core/class.h> - #include <drm/drmP.h> #include <drm/drm_crtc_helper.h> @@ -34,8 +31,6 @@ #include "nouveau_encoder.h" #include "nouveau_connector.h" -#include <subdev/i2c.h> - int nv04_display_early_init(struct drm_device *dev) { diff --git a/drm/dispnv04/tvnv17.c b/drm/dispnv04/tvnv17.c index 521019074..72d2ab04d 100644 --- a/drm/dispnv04/tvnv17.c +++ b/drm/dispnv04/tvnv17.c @@ -34,10 +34,6 @@ #include "hw.h" #include "tvnv17.h" -#include <core/device.h> - -#include <subdev/bios/gpio.h> - MODULE_PARM_DESC(tv_norm, "Default TV norm.\n" "\t\tSupported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,\n" "\t\t\thd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.\n" diff --git a/drm/nouveau_abi16.c b/drm/nouveau_abi16.c index dbba603d5..22c1eff58 100644 --- a/drm/nouveau_abi16.c +++ b/drm/nouveau_abi16.c @@ -21,11 +21,8 @@ * */ -#include <core/object.h> -#include <core/client.h> -#include <core/device.h> -#include <core/class.h> -#include <core/mm.h> +#include <nvif/os.h> +#include <nvif/class.h> #include "nouveau_drm.h" #include "nouveau_dma.h" diff --git a/drm/nouveau_agp.c b/drm/nouveau_agp.c index 08561ffc3..1f6f6ba68 100644 --- a/drm/nouveau_agp.c +++ b/drm/nouveau_agp.c @@ -1,7 +1,5 @@ #include <linux/module.h> -#include <core/device.h> - #include "nouveau_drm.h" #include "nouveau_agp.h" #include "nouveau_reg.h" diff --git a/drm/nouveau_bo.c b/drm/nouveau_bo.c index 23146ce53..42b3ca881 100644 --- a/drm/nouveau_bo.c +++ b/drm/nouveau_bo.c @@ -27,7 +27,7 @@ * Jeremy Kolb <jkolb@brandeis.edu> */ -#include <core/engine.h> +#include <linux/dma-mapping.h> #include <linux/swiotlb.h> #include "nouveau_drm.h" diff --git a/drm/nouveau_chan.c b/drm/nouveau_chan.c index 676b1b9a3..b63a56e07 100644 --- a/drm/nouveau_chan.c +++ b/drm/nouveau_chan.c @@ -22,10 +22,11 @@ * Authors: Ben Skeggs */ -#include <core/object.h> +#include <nvif/os.h> +#include <nvif/class.h> + +/*XXX*/ #include <core/client.h> -#include <core/device.h> -#include <core/class.h> #include "nouveau_drm.h" #include "nouveau_dma.h" diff --git a/drm/nouveau_connector.h b/drm/nouveau_connector.h index 0dcec024e..a64f46296 100644 --- a/drm/nouveau_connector.h +++ b/drm/nouveau_connector.h @@ -31,10 +31,6 @@ #include <drm/drm_dp_helper.h> #include "nouveau_crtc.h" -#include <core/event.h> - -#include <subdev/bios.h> - struct nouveau_i2c_port; enum nouveau_underscan_type { diff --git a/drm/nouveau_display.c b/drm/nouveau_display.c index 897e08503..ffea6c4f9 100644 --- a/drm/nouveau_display.c +++ b/drm/nouveau_display.c @@ -27,6 +27,8 @@ #include <drm/drmP.h> #include <drm/drm_crtc_helper.h> +#include <nvif/class.h> + #include "nouveau_fbcon.h" #include "dispnv04/hw.h" #include "nouveau_crtc.h" @@ -37,7 +39,6 @@ #include "nouveau_fence.h" -#include <core/class.h> #include <nvif/event.h> static int diff --git a/drm/nouveau_dma.c b/drm/nouveau_dma.c index aafdd278a..8508603cc 100644 --- a/drm/nouveau_dma.c +++ b/drm/nouveau_dma.c @@ -24,8 +24,6 @@ * */ -#include <core/client.h> - #include "nouveau_drm.h" #include "nouveau_dma.h" diff --git a/drm/nouveau_dp.c b/drm/nouveau_dp.c index 29cd1a901..c5137cccc 100644 --- a/drm/nouveau_dp.c +++ b/drm/nouveau_dp.c @@ -30,8 +30,6 @@ #include "nouveau_encoder.h" #include "nouveau_crtc.h" -#include <core/class.h> - static void nouveau_dp_probe_oui(struct drm_device *dev, struct nouveau_i2c_port *auxch, u8 *dpcd) diff --git a/drm/nouveau_drm.c b/drm/nouveau_drm.c index 309be93de..9d0ad53b9 100644 --- a/drm/nouveau_drm.c +++ b/drm/nouveau_drm.c @@ -27,8 +27,10 @@ #include <linux/pci.h> #include <linux/pm_runtime.h> #include <linux/vga_switcheroo.h> + #include "drmP.h" #include "drm_crtc_helper.h" + #include <core/device.h> #include <core/gpuobj.h> #include <core/class.h> diff --git a/drm/nouveau_drm.h b/drm/nouveau_drm.h index a29fd210e..1fe401a89 100644 --- a/drm/nouveau_drm.h +++ b/drm/nouveau_drm.h @@ -25,13 +25,10 @@ * - fixes multiple bugs in flip completion events and timestamping */ -#include <core/client.h> -#include <core/event.h> - #include <nvif/client.h> #include <nvif/device.h> -#include <subdev/vm.h> +#include <core/class.h> #include <drmP.h> #include <drm/nouveau_drm.h> diff --git a/drm/nouveau_fbcon.c b/drm/nouveau_fbcon.c index 6864e0361..2f22da0e1 100644 --- a/drm/nouveau_fbcon.c +++ b/drm/nouveau_fbcon.c @@ -51,9 +51,6 @@ #include "nouveau_crtc.h" -#include <core/client.h> -#include <core/device.h> - MODULE_PARM_DESC(nofbaccel, "Disable fbcon acceleration"); static int nouveau_nofbaccel = 0; module_param_named(nofbaccel, nouveau_nofbaccel, int, 0400); diff --git a/drm/nouveau_sysfs.c b/drm/nouveau_sysfs.c index 80f30d7c2..d14e6ef93 100644 --- a/drm/nouveau_sysfs.c +++ b/drm/nouveau_sysfs.c @@ -22,10 +22,10 @@ * Authors: Ben Skeggs <bskeggs@redhat.com> */ -#include "nouveau_sysfs.h" +#include <nvif/os.h> +#include <nvif/class.h> -#include <core/object.h> -#include <core/class.h> +#include "nouveau_sysfs.h" static inline struct drm_device * drm_device(struct device *d) diff --git a/drm/nouveau_ttm.c b/drm/nouveau_ttm.c index 245eebd06..244c58ee4 100644 --- a/drm/nouveau_ttm.c +++ b/drm/nouveau_ttm.c @@ -203,6 +203,7 @@ const struct ttm_mem_type_manager_func nouveau_gart_manager = { nouveau_gart_manager_debug }; +/*XXX*/ #include <core/subdev/vm/nv04.h> static int nv04_gart_manager_init(struct ttm_mem_type_manager *man, unsigned long psize) diff --git a/drm/nv04_fbcon.c b/drm/nv04_fbcon.c index 3d6735cbd..4ef602c54 100644 --- a/drm/nv04_fbcon.c +++ b/drm/nv04_fbcon.c @@ -22,8 +22,6 @@ * DEALINGS IN THE SOFTWARE. */ -#include <core/object.h> - #include "nouveau_drm.h" #include "nouveau_dma.h" #include "nouveau_fbcon.h" diff --git a/drm/nv10_fence.c b/drm/nv10_fence.c index fa5078171..4faaf0acf 100644 --- a/drm/nv10_fence.c +++ b/drm/nv10_fence.c @@ -22,9 +22,6 @@ * Authors: Ben Skeggs <bskeggs@redhat.com> */ -#include <core/object.h> -#include <core/class.h> - #include "nouveau_drm.h" #include "nouveau_dma.h" #include "nv10_fence.h" diff --git a/drm/nv10_fence.h b/drm/nv10_fence.h index 27d1c9d2d..a87259f39 100644 --- a/drm/nv10_fence.h +++ b/drm/nv10_fence.h @@ -1,7 +1,6 @@ #ifndef __NV10_FENCE_H_ #define __NV10_FENCE_H_ -#include <core/os.h> #include "nouveau_fence.h" #include "nouveau_bo.h" diff --git a/drm/nv17_fence.c b/drm/nv17_fence.c index 505613173..5da039ef7 100644 --- a/drm/nv17_fence.c +++ b/drm/nv17_fence.c @@ -22,8 +22,8 @@ * Authors: Ben Skeggs <bskeggs@redhat.com> */ -#include <core/object.h> -#include <core/class.h> +#include <nvif/os.h> +#include <nvif/class.h> #include "nouveau_drm.h" #include "nouveau_dma.h" diff --git a/drm/nv50_display.c b/drm/nv50_display.c index 6ae03044c..4afef92d6 100644 --- a/drm/nv50_display.c +++ b/drm/nv50_display.c @@ -28,6 +28,8 @@ #include <drm/drm_crtc_helper.h> #include <drm/drm_dp_helper.h> +#include <nvif/class.h> + #include "nouveau_drm.h" #include "nouveau_dma.h" #include "nouveau_gem.h" @@ -37,8 +39,6 @@ #include "nouveau_fence.h" #include "nv50_display.h" -#include <core/class.h> - #define EVO_DMA_NR 9 #define EVO_MASTER (0x00) diff --git a/drm/nv50_fence.c b/drm/nv50_fence.c index d5d88a97d..7bb22a951 100644 --- a/drm/nv50_fence.c +++ b/drm/nv50_fence.c @@ -22,8 +22,8 @@ * Authors: Ben Skeggs <bskeggs@redhat.com> */ -#include <core/object.h> -#include <core/class.h> +#include <nvif/os.h> +#include <nvif/class.h> #include "nouveau_drm.h" #include "nouveau_dma.h" diff --git a/drm/nv84_fence.c b/drm/nv84_fence.c index 28cf3b417..c40fb29f9 100644 --- a/drm/nv84_fence.c +++ b/drm/nv84_fence.c @@ -22,10 +22,6 @@ * Authors: Ben Skeggs */ -#include <core/object.h> -#include <core/client.h> -#include <core/class.h> - #include "nouveau_drm.h" #include "nouveau_dma.h" #include "nouveau_fence.h" diff --git a/drm/nvc0_fence.c b/drm/nvc0_fence.c index 341323b6b..becf19abd 100644 --- a/drm/nvc0_fence.c +++ b/drm/nvc0_fence.c @@ -22,10 +22,6 @@ * Authors: Ben Skeggs */ -#include <core/object.h> -#include <core/client.h> -#include <core/class.h> - #include "nouveau_drm.h" #include "nouveau_dma.h" #include "nouveau_fence.h" |