xref: /dragonfly/sys/dev/drm/amd/amdgpu/amdgpu_drv.h (revision b843c749)
1*b843c749SSergey Zigachev /* amdgpu_drv.h -- Private header for amdgpu driver -*- linux-c -*-
2*b843c749SSergey Zigachev  *
3*b843c749SSergey Zigachev  * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
4*b843c749SSergey Zigachev  * Copyright 2000 VA Linux Systems, Inc., Fremont, California.
5*b843c749SSergey Zigachev  * All rights reserved.
6*b843c749SSergey Zigachev  *
7*b843c749SSergey Zigachev  * Permission is hereby granted, free of charge, to any person obtaining a
8*b843c749SSergey Zigachev  * copy of this software and associated documentation files (the "Software"),
9*b843c749SSergey Zigachev  * to deal in the Software without restriction, including without limitation
10*b843c749SSergey Zigachev  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11*b843c749SSergey Zigachev  * and/or sell copies of the Software, and to permit persons to whom the
12*b843c749SSergey Zigachev  * Software is furnished to do so, subject to the following conditions:
13*b843c749SSergey Zigachev  *
14*b843c749SSergey Zigachev  * The above copyright notice and this permission notice (including the next
15*b843c749SSergey Zigachev  * paragraph) shall be included in all copies or substantial portions of the
16*b843c749SSergey Zigachev  * Software.
17*b843c749SSergey Zigachev  *
18*b843c749SSergey Zigachev  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19*b843c749SSergey Zigachev  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20*b843c749SSergey Zigachev  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
21*b843c749SSergey Zigachev  * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
22*b843c749SSergey Zigachev  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
23*b843c749SSergey Zigachev  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24*b843c749SSergey Zigachev  * DEALINGS IN THE SOFTWARE.
25*b843c749SSergey Zigachev  *
26*b843c749SSergey Zigachev  */
27*b843c749SSergey Zigachev 
28*b843c749SSergey Zigachev #ifndef __AMDGPU_DRV_H__
29*b843c749SSergey Zigachev #define __AMDGPU_DRV_H__
30*b843c749SSergey Zigachev 
31*b843c749SSergey Zigachev #include <linux/firmware.h>
32*b843c749SSergey Zigachev #include <linux/platform_device.h>
33*b843c749SSergey Zigachev 
34*b843c749SSergey Zigachev #include "amd_shared.h"
35*b843c749SSergey Zigachev 
36*b843c749SSergey Zigachev /* General customization:
37*b843c749SSergey Zigachev  */
38*b843c749SSergey Zigachev 
39*b843c749SSergey Zigachev #define DRIVER_AUTHOR		"AMD linux driver team"
40*b843c749SSergey Zigachev 
41*b843c749SSergey Zigachev #define DRIVER_NAME		"amdgpu"
42*b843c749SSergey Zigachev #define DRIVER_DESC		"AMD GPU"
43*b843c749SSergey Zigachev #define DRIVER_DATE		"20150101"
44*b843c749SSergey Zigachev 
45*b843c749SSergey Zigachev long amdgpu_drm_ioctl(struct file *filp,
46*b843c749SSergey Zigachev 		      unsigned int cmd, unsigned long arg);
47*b843c749SSergey Zigachev 
48*b843c749SSergey Zigachev #endif
49