2005-04-16 16:20:36 -06:00
|
|
|
/*
|
2014-08-29 04:12:40 -06:00
|
|
|
* Internal Header for the Direct Rendering Manager
|
|
|
|
*
|
2005-04-16 16:20:36 -06:00
|
|
|
* Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
|
|
|
|
* Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
|
2010-05-27 13:40:25 -06:00
|
|
|
* Copyright (c) 2009-2010, Code Aurora Forum.
|
2005-04-16 16:20:36 -06:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
2014-08-29 04:12:40 -06:00
|
|
|
* Author: Rickard E. (Rik) Faith <faith@valinux.com>
|
|
|
|
* Author: Gareth Hughes <gareth@valinux.com>
|
|
|
|
*
|
2005-04-16 16:20:36 -06:00
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
|
|
* to deal in the Software without restriction, including without limitation
|
|
|
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
|
* and/or sell copies of the Software, and to permit persons to whom the
|
|
|
|
* Software is furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice (including the next
|
|
|
|
* paragraph) shall be included in all copies or substantial portions of the
|
|
|
|
* Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
* VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
|
|
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
|
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _DRM_P_H_
|
|
|
|
#define _DRM_P_H_
|
|
|
|
|
2014-08-29 04:12:37 -06:00
|
|
|
#include <linux/agp_backend.h>
|
|
|
|
#include <linux/cdev.h>
|
|
|
|
#include <linux/dma-mapping.h>
|
|
|
|
#include <linux/file.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
#include <linux/fs.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
#include <linux/highmem.h>
|
|
|
|
#include <linux/idr.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
#include <linux/init.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
#include <linux/io.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
#include <linux/jiffies.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/kref.h>
|
|
|
|
#include <linux/miscdevice.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
#include <linux/mm.h>
|
2006-02-02 01:37:46 -07:00
|
|
|
#include <linux/mutex.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
#include <linux/platform_device.h>
|
|
|
|
#include <linux/poll.h>
|
2013-11-21 12:29:51 -07:00
|
|
|
#include <linux/ratelimit.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
#include <linux/sched.h>
|
|
|
|
#include <linux/slab.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
#include <linux/types.h>
|
2014-08-29 04:12:35 -06:00
|
|
|
#include <linux/vmalloc.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
#include <linux/workqueue.h>
|
2016-10-25 06:00:45 -06:00
|
|
|
#include <linux/dma-fence.h>
|
2017-03-08 07:12:35 -07:00
|
|
|
#include <linux/module.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
|
|
|
|
#include <asm/mman.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
#include <asm/pgalloc.h>
|
2016-12-24 12:46:01 -07:00
|
|
|
#include <linux/uaccess.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
|
2014-08-29 04:12:40 -06:00
|
|
|
#include <uapi/drm/drm.h>
|
|
|
|
#include <uapi/drm/drm_mode.h>
|
|
|
|
|
|
|
|
#include <drm/drm_agpsupport.h>
|
|
|
|
#include <drm/drm_crtc.h>
|
2016-06-09 03:54:08 -06:00
|
|
|
#include <drm/drm_fourcc.h>
|
2014-08-29 04:12:37 -06:00
|
|
|
#include <drm/drm_hashtab.h>
|
|
|
|
#include <drm/drm_mm.h>
|
|
|
|
#include <drm/drm_os_linux.h>
|
2012-10-02 11:01:03 -06:00
|
|
|
#include <drm/drm_sarea.h>
|
2016-11-14 04:58:19 -07:00
|
|
|
#include <drm/drm_drv.h>
|
2017-03-08 07:12:35 -07:00
|
|
|
#include <drm/drm_prime.h>
|
2017-10-17 22:30:07 -06:00
|
|
|
#include <drm/drm_print.h>
|
2017-03-08 07:12:37 -07:00
|
|
|
#include <drm/drm_pci.h>
|
2017-03-08 07:12:42 -07:00
|
|
|
#include <drm/drm_file.h>
|
2017-03-22 14:53:36 -06:00
|
|
|
#include <drm/drm_debugfs.h>
|
2017-03-22 14:54:47 -06:00
|
|
|
#include <drm/drm_ioctl.h>
|
2017-04-04 03:52:55 -06:00
|
|
|
#include <drm/drm_sysfs.h>
|
2017-05-31 03:21:46 -06:00
|
|
|
#include <drm/drm_vblank.h>
|
|
|
|
#include <drm/drm_irq.h>
|
2017-08-02 05:56:01 -06:00
|
|
|
#include <drm/drm_device.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2011-05-26 11:46:22 -06:00
|
|
|
struct module;
|
|
|
|
|
2012-10-28 11:28:06 -06:00
|
|
|
struct device_node;
|
2012-11-14 03:22:52 -07:00
|
|
|
struct videomode;
|
2014-07-01 04:57:26 -06:00
|
|
|
struct reservation_object;
|
2014-01-09 03:03:14 -07:00
|
|
|
struct dma_buf_attachment;
|
2012-11-14 03:22:52 -07:00
|
|
|
|
2017-03-08 07:12:37 -07:00
|
|
|
struct pci_dev;
|
|
|
|
struct pci_controller;
|
|
|
|
|
2019-01-12 12:32:45 -07:00
|
|
|
/*
|
|
|
|
* NOTE: drmP.h is obsolete - do NOT add anything to this file
|
|
|
|
*
|
|
|
|
* Do not include drmP.h in new files.
|
|
|
|
* Work is ongoing to remove drmP.h includes from existing files
|
|
|
|
*/
|
2018-11-01 09:11:32 -06:00
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
#endif
|