Back to home page

OSCL-LXR

 
 

    


0001 /* amdgpu_drv.h -- Private header for amdgpu driver -*- linux-c -*-
0002  *
0003  * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
0004  * Copyright 2000 VA Linux Systems, Inc., Fremont, California.
0005  * All rights reserved.
0006  *
0007  * Permission is hereby granted, free of charge, to any person obtaining a
0008  * copy of this software and associated documentation files (the "Software"),
0009  * to deal in the Software without restriction, including without limitation
0010  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
0011  * and/or sell copies of the Software, and to permit persons to whom the
0012  * Software is furnished to do so, subject to the following conditions:
0013  *
0014  * The above copyright notice and this permission notice (including the next
0015  * paragraph) shall be included in all copies or substantial portions of the
0016  * Software.
0017  *
0018  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0019  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0020  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
0021  * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
0022  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
0023  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0024  * DEALINGS IN THE SOFTWARE.
0025  *
0026  */
0027 
0028 #ifndef __AMDGPU_DRV_H__
0029 #define __AMDGPU_DRV_H__
0030 
0031 #include <linux/firmware.h>
0032 #include <linux/platform_device.h>
0033 
0034 #include "amd_shared.h"
0035 
0036 /* General customization:
0037  */
0038 
0039 #define DRIVER_AUTHOR       "AMD linux driver team"
0040 
0041 #define DRIVER_NAME     "amdgpu"
0042 #define DRIVER_DESC     "AMD GPU"
0043 #define DRIVER_DATE     "20150101"
0044 
0045 long amdgpu_drm_ioctl(struct file *filp,
0046               unsigned int cmd, unsigned long arg);
0047 
0048 long amdgpu_kms_compat_ioctl(struct file *filp,
0049                  unsigned int cmd, unsigned long arg);
0050 
0051 #endif