xref: /openbsd-src/sys/dev/pci/drm/ttm/ttm_module.h (revision 5ca02815211fc20fa71222bf4e6148b043e505b3)
1*5ca02815Sjsg /**************************************************************************
2*5ca02815Sjsg  *
3*5ca02815Sjsg  * Copyright 2008-2009 VMware, Inc., Palo Alto, CA., USA
4*5ca02815Sjsg  * All Rights Reserved.
5*5ca02815Sjsg  *
6*5ca02815Sjsg  * Permission is hereby granted, free of charge, to any person obtaining a
7*5ca02815Sjsg  * copy of this software and associated documentation files (the
8*5ca02815Sjsg  * "Software"), to deal in the Software without restriction, including
9*5ca02815Sjsg  * without limitation the rights to use, copy, modify, merge, publish,
10*5ca02815Sjsg  * distribute, sub license, and/or sell copies of the Software, and to
11*5ca02815Sjsg  * permit persons to whom the Software is furnished to do so, subject to
12*5ca02815Sjsg  * the following conditions:
13*5ca02815Sjsg  *
14*5ca02815Sjsg  * The above copyright notice and this permission notice (including the
15*5ca02815Sjsg  * next paragraph) shall be included in all copies or substantial portions
16*5ca02815Sjsg  * of the Software.
17*5ca02815Sjsg  *
18*5ca02815Sjsg  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19*5ca02815Sjsg  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20*5ca02815Sjsg  * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
21*5ca02815Sjsg  * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,
22*5ca02815Sjsg  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
23*5ca02815Sjsg  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
24*5ca02815Sjsg  * USE OR OTHER DEALINGS IN THE SOFTWARE.
25*5ca02815Sjsg  *
26*5ca02815Sjsg  **************************************************************************/
27*5ca02815Sjsg /*
28*5ca02815Sjsg  * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
29*5ca02815Sjsg  */
30*5ca02815Sjsg 
31*5ca02815Sjsg #ifndef _TTM_MODULE_H_
32*5ca02815Sjsg #define _TTM_MODULE_H_
33*5ca02815Sjsg 
34*5ca02815Sjsg #define TTM_PFX "[TTM] "
35*5ca02815Sjsg 
36*5ca02815Sjsg struct dentry;
37*5ca02815Sjsg struct ttm_device;
38*5ca02815Sjsg 
39*5ca02815Sjsg extern struct dentry *ttm_debugfs_root;
40*5ca02815Sjsg 
41*5ca02815Sjsg void ttm_sys_man_init(struct ttm_device *bdev);
42*5ca02815Sjsg 
43*5ca02815Sjsg #endif /* _TTM_MODULE_H_ */
44