Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-block.git] / include / drm / drmP.h
CommitLineData
1da177e4 1/*
d7d2c48e
DH
2 * Internal Header for the Direct Rendering Manager
3 *
1da177e4
LT
4 * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
5 * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
dcdb1674 6 * Copyright (c) 2009-2010, Code Aurora Forum.
1da177e4
LT
7 * All rights reserved.
8 *
d7d2c48e
DH
9 * Author: Rickard E. (Rik) Faith <faith@valinux.com>
10 * Author: Gareth Hughes <gareth@valinux.com>
11 *
1da177e4
LT
12 * Permission is hereby granted, free of charge, to any person obtaining a
13 * copy of this software and associated documentation files (the "Software"),
14 * to deal in the Software without restriction, including without limitation
15 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 * and/or sell copies of the Software, and to permit persons to whom the
17 * Software is furnished to do so, subject to the following conditions:
18 *
19 * The above copyright notice and this permission notice (including the next
20 * paragraph) shall be included in all copies or substantial portions of the
21 * Software.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26 * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
27 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
28 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
29 * OTHER DEALINGS IN THE SOFTWARE.
30 */
31
32#ifndef _DRM_P_H_
33#define _DRM_P_H_
34
96993908
DH
35#include <linux/agp_backend.h>
36#include <linux/cdev.h>
37#include <linux/dma-mapping.h>
38#include <linux/file.h>
1da177e4 39#include <linux/fs.h>
96993908
DH
40#include <linux/highmem.h>
41#include <linux/idr.h>
1da177e4 42#include <linux/init.h>
96993908 43#include <linux/io.h>
1da177e4 44#include <linux/jiffies.h>
96993908
DH
45#include <linux/kernel.h>
46#include <linux/kref.h>
47#include <linux/miscdevice.h>
1da177e4 48#include <linux/mm.h>
30e2fb18 49#include <linux/mutex.h>
96993908
DH
50#include <linux/platform_device.h>
51#include <linux/poll.h>
5d13d425 52#include <linux/ratelimit.h>
96993908
DH
53#include <linux/sched.h>
54#include <linux/slab.h>
1da177e4 55#include <linux/types.h>
d6db6564 56#include <linux/vmalloc.h>
96993908 57#include <linux/workqueue.h>
f54d1867 58#include <linux/dma-fence.h>
c6bb9baa 59#include <linux/module.h>
852661a8 60#include <linux/mman.h>
1da177e4 61#include <asm/pgalloc.h>
7c0f6ba6 62#include <linux/uaccess.h>
96993908 63
d7d2c48e
DH
64#include <uapi/drm/drm.h>
65#include <uapi/drm/drm_mode.h>
66
67#include <drm/drm_agpsupport.h>
68#include <drm/drm_crtc.h>
ae4df11a 69#include <drm/drm_fourcc.h>
96993908
DH
70#include <drm/drm_hashtab.h>
71#include <drm/drm_mm.h>
72#include <drm/drm_os_linux.h>
19218e48 73#include <drm/drm_sarea.h>
85e634bc 74#include <drm/drm_drv.h>
c6bb9baa 75#include <drm/drm_prime.h>
02c9656b 76#include <drm/drm_print.h>
23ef59ef 77#include <drm/drm_pci.h>
a8f8b1d9 78#include <drm/drm_file.h>
4834442d 79#include <drm/drm_debugfs.h>
7cfdf711 80#include <drm/drm_ioctl.h>
e2271704 81#include <drm/drm_sysfs.h>
3ed4351a
DV
82#include <drm/drm_vblank.h>
83#include <drm/drm_irq.h>
e4672e55 84#include <drm/drm_device.h>
1da177e4 85
de477254
PG
86struct module;
87
edb37a95 88struct device_node;
ebc64e45 89struct videomode;
3aac4502 90struct reservation_object;
b5e9c1a2 91struct dma_buf_attachment;
ebc64e45 92
23ef59ef
DV
93struct pci_dev;
94struct pci_controller;
95
21376e2c
SR
96/*
97 * NOTE: drmP.h is obsolete - do NOT add anything to this file
98 *
99 * Do not include drmP.h in new files.
100 * Work is ongoing to remove drmP.h includes from existing files
101 */
9aefed1f 102
1da177e4 103#endif