Remove redundant DRM UAPI header #inclusions from drivers/gpu/.
Remove redundant #inclusions of core DRM UAPI headers (drm.h, drm_mode.h and
drm_sarea.h). They are now #included via drmP.h and drm_crtc.h via a preceding
patch.
Without this patch and the patch to make include the UAPI headers from the core
headers, after the UAPI split, the DRM C sources cannot find these UAPI headers
because the DRM code relies on specific -I flags to make #include "..." work
on headers in include/drm/ - but that does not work after the UAPI split without
adding more -I flags.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
#include <linux/console.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include "ast_drv.h"
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_fb_helper.h"
#include "ast_drv.h"
#include <linux/module.h>
#include <linux/console.h>
#include "drmP.h"
-#include "drm.h"
#include "cirrus_drv.h"
*/
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_fb_helper.h"
#include <linux/fb.h>
* Dave Airlie
*/
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include "cirrus_drv.h"
* Copyright 1999-2001 Jeff Garzik <jgarzik@pobox.com>
*/
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include <video/cirrus.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/export.h>
-#include "drm.h"
#include "drmP.h"
#include "drm_crtc.h"
#include "drm_edid.h"
#include <linux/list_sort.h>
#include <linux/export.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
/**
*/
#include "drmP.h"
-#include "drm.h"
#include "exynos_drm.h"
#include "exynos_drm_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "exynos_drm.h"
#include "exynos_drm_drv.h"
#include "exynos_drm_gem.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include <drm/exynos_drm.h>
#define _EXYNOS_DRM_DRV_H_
#include <linux/module.h>
-#include "drm.h"
#define MAX_CRTC 3
#define MAX_PLANE 5
*/
#include "drmP.h"
-#include "drm.h"
#include <linux/shmem_fs.h>
#include <drm/exynos_drm.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "drmP.h"
-#include "drm.h"
#include "psb_intel_drv.h"
#include "gma_drm.h"
#include "psb_drv.h"
#include <linux/slab.h>
#include <linux/delay.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_edid.h"
#include "psb_intel_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i810_drm.h"
#include "i810_drv.h"
#include <linux/interrupt.h> /* For task queue support */
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "i810_drm.h"
#include "i810_drv.h"
#include <linux/i2c.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "intel_drv.h"
#include <linux/slab.h>
#include <linux/export.h>
#include "drmP.h"
-#include "drm.h"
#include "intel_drv.h"
#include "intel_ringbuffer.h"
#include "i915_drm.h"
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include "drm_fb_helper.h"
#include "intel_drv.h"
#include <linux/device.h>
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "i915_trace.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "i915_trace.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drv.h"
#include "i915_drm.h"
#include "i915_trace.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "i915_trace.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "i915_trace.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "linux/string.h"
#include "linux/bitops.h"
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include <linux/compat.h>
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include <linux/sysrq.h>
#include <linux/slab.h>
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "i915_trace.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "intel_drv.h"
#include "i915_reg.h"
#include <linux/dmi.h>
#include <drm/drm_dp_helper.h>
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "intel_bios.h"
#include <linux/i2c.h>
#include <linux/slab.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_crtc_helper.h"
#include "drm_edid.h"
#include <linux/slab.h>
#include <linux/export.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_crtc_helper.h"
#include "drm_edid.h"
#include <linux/i2c.h>
#include <linux/slab.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "intel_drv.h"
#include "i915_drm.h"
#include <linux/vga_switcheroo.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_fb_helper.h"
#include "intel_drv.h"
#include <linux/slab.h>
#include <linux/delay.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_edid.h"
#include "intel_drv.h"
#include <linux/i2c-algo-bit.h>
#include <linux/export.h>
#include "drmP.h"
-#include "drm.h"
#include "intel_drv.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include <linux/i2c.h>
#include <linux/slab.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_edid.h"
#include "intel_drv.h"
* Derived from Xorg ddx, xf86-video-intel, src/i830_video.c
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "i915_reg.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "i915_drv.h"
#include "i915_drm.h"
#include "i915_trace.h"
#include <linux/delay.h>
#include <linux/export.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_edid.h"
#include "intel_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_edid.h"
#include "intel_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
-#include "drm_sarea.h"
#include "mga_drm.h"
#include "mga_drv.h"
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "mga_drm.h"
#include "mga_drv.h"
#include <linux/compat.h>
#include "drmP.h"
-#include "drm.h"
#include "mga_drm.h"
typedef struct drm32_mga_init {
*/
#include "drmP.h"
-#include "drm.h"
#include "mga_drm.h"
#include "mga_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "mga_drm.h"
#include "mga_drv.h"
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "mga_drm.h"
#include "mga_drv.h"
#include <linux/module.h>
#include <linux/console.h>
#include "drmP.h"
-#include "drm.h"
#include "mgag200_drv.h"
*/
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_fb_helper.h"
#include <linux/fb.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "drmP.h"
-#include "drm.h"
#include "mgag200_drv.h"
* Dave Airlie
*/
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include "mgag200_drv.h"
#include <linux/delay.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include "mgag200_drv.h"
#include <linux/mxm-wmi.h>
#include "drmP.h"
-#include "drm.h"
-#include "drm_sarea.h"
#include "drm_crtc_helper.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_dma.h"
#include "nouveau_ramht.h"
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include "nouveau_drv.h"
#include "nouveau_abi16.h"
#include <linux/console.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_crtc_helper.h"
#include "drm_fb_helper.h"
*/
#include "drmP.h"
-#include "drm.h"
#include <linux/ktime.h>
#include <linux/hrtimer.h>
*/
#include <linux/dma-buf.h>
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include "nouveau_fifo.h"
#include <linux/compat.h>
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drm.h"
#include "nouveau_drv.h"
#include "nouveau_reg.h"
#include "drmP.h"
-#include "drm.h"
-#include "drm_sarea.h"
#include "nouveau_drv.h"
#include "nouveau_pm.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_ramht.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include <linux/swab.h>
#include <linux/slab.h>
#include "drmP.h"
-#include "drm.h"
-#include "drm_sarea.h"
#include "drm_crtc_helper.h"
#include <linux/vgaarb.h>
#include <linux/vga_switcheroo.h>
#include "drmP.h"
-#include "drm_mode.h"
#include "nouveau_reg.h"
#include "nouveau_drv.h"
#include "nouveau_crtc.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc_helper.h"
#include "nouveau_drv.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "nouveau_util.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drm.h"
#include "nouveau_drv.h"
#include "nouveau_hw.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include "nouveau_hw.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "nouveau_util.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drm.h"
#include "nouveau_drv.h"
#include "nouveau_util.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "nouveau_util.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "nouveau_util.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "nouveau_ramht.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
*/
#include "drmP.h"
-#include "drm_mode.h"
#include "drm_crtc_helper.h"
#define NOUVEAU_DMA_DEBUG (nouveau_reg_debug & NOUVEAU_REG_DEBUG_EVO)
*/
#include "drmP.h"
-#include "drm_mode.h"
#define NOUVEAU_DMA_DEBUG (nouveau_reg_debug & NOUVEAU_REG_DEBUG_EVO)
#include "nouveau_reg.h"
#define __NV50_DISPLAY_H__
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_dma.h"
#include "nouveau_reg.h"
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include "nouveau_fifo.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "nouveau_ramht.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "nouveau_ramht.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_vm.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
int
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_fifo.h"
#include "nouveau_ramht.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "r128_drm.h"
#include "r128_drv.h"
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "r128_drm.h"
#include "r128_drv.h"
#include <linux/compat.h>
#include "drmP.h"
-#include "drm.h"
#include "r128_drm.h"
typedef struct drm_r128_init32 {
*/
#include "drmP.h"
-#include "drm.h"
#include "r128_drm.h"
#include "r128_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "r128_drm.h"
#include "r128_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon.h"
#include <linux/seq_file.h>
#include <linux/slab.h>
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon_reg.h"
#include "radeon.h"
* Jerome Glisse
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon_reg.h"
#include "radeon.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "drm_buffer.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
* Alex Deucher <alexander.deucher@amd.com>
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon.h"
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
#include <acpi/acpi_bus.h>
#include "drmP.h"
-#include "drm.h"
-#include "drm_sarea.h"
#include "drm_crtc_helper.h"
#include "radeon.h"
* Jerome Glisse <glisse@freedesktop.org>
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon.h"
#include "radeon_drm.h"
#include <linux/module.h>
#include "drmP.h"
-#include "drm.h"
-#include "drm_sarea.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
#include "r300_reg.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
#include <linux/fb.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_crtc_helper.h"
#include "radeon_drm.h"
#include <linux/kref.h>
#include <linux/slab.h>
#include "drmP.h"
-#include "drm.h"
#include "radeon_reg.h"
#include "radeon.h"
#include "radeon_trace.h"
* Jerome Glisse
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon.h"
#include <linux/compat.h>
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
* Jerome Glisse
*/
#include "drmP.h"
-#include "drm_sarea.h"
#include "radeon.h"
#include "radeon_drm.h"
#include "radeon_asic.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
#define RADEON_MODE_H
#include <drm_crtc.h>
-#include <drm_mode.h>
#include <drm_edid.h>
#include <drm_dp_helper.h>
#include <drm_fixed.h>
* Authors: Alex Deucher
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon.h"
#include "radeon_drm.h"
* rings. We just wait for any of those fence to complete.
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon.h"
static void radeon_sa_bo_remove_locked(struct radeon_sa_bo *sa_bo);
* Christian König <deathsimple@vodafone.de>
*/
#include "drmP.h"
-#include "drm.h"
#include "radeon.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "drm_buffer.h"
-#include "drm_sarea.h"
#include "radeon_drm.h"
#include "radeon_drv.h"
#include <linux/fb.h>
#include "drmP.h"
-#include "drm.h"
#include "drm_crtc.h"
#include "drm_crtc_helper.h"
#include "udl_drv.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "via_drm.h"
#include "via_drv.h"
#include "via_3d_reg.h"
*/
#include "drmP.h"
-#include "drm.h"
#include "via_drm.h"
#include "via_drv.h"
#include "via_3d_reg.h"
#include "drmP.h"
-#include "drm.h"
#include "via_drm.h"
#include "via_verifier.h"
#include "via_drv.h"