xref: /aosp_15_r20/external/libdrm/radeon/radeon_cs_gem.h (revision 7688df22e49036ff52a766b7101da3a49edadb8c)
1*7688df22SAndroid Build Coastguard Worker /*
2*7688df22SAndroid Build Coastguard Worker  * Copyright © 2008 Nicolai Haehnle
3*7688df22SAndroid Build Coastguard Worker  * Copyright © 2008 Jérôme Glisse
4*7688df22SAndroid Build Coastguard Worker  * All Rights Reserved.
5*7688df22SAndroid Build Coastguard Worker  *
6*7688df22SAndroid Build Coastguard Worker  * Permission is hereby granted, free of charge, to any person obtaining
7*7688df22SAndroid Build Coastguard Worker  * a copy of this software and associated documentation files (the
8*7688df22SAndroid Build Coastguard Worker  * "Software"), to deal in the Software without restriction, including
9*7688df22SAndroid Build Coastguard Worker  * without limitation the rights to use, copy, modify, merge, publish,
10*7688df22SAndroid Build Coastguard Worker  * distribute, sub license, and/or sell copies of the Software, and to
11*7688df22SAndroid Build Coastguard Worker  * permit persons to whom the Software is furnished to do so, subject to
12*7688df22SAndroid Build Coastguard Worker  * the following conditions:
13*7688df22SAndroid Build Coastguard Worker  *
14*7688df22SAndroid Build Coastguard Worker  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15*7688df22SAndroid Build Coastguard Worker  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
16*7688df22SAndroid Build Coastguard Worker  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17*7688df22SAndroid Build Coastguard Worker  * NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS, AUTHORS
18*7688df22SAndroid Build Coastguard Worker  * AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19*7688df22SAndroid Build Coastguard Worker  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20*7688df22SAndroid Build Coastguard Worker  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
21*7688df22SAndroid Build Coastguard Worker  * USE OR OTHER DEALINGS IN THE SOFTWARE.
22*7688df22SAndroid Build Coastguard Worker  *
23*7688df22SAndroid Build Coastguard Worker  * The above copyright notice and this permission notice (including the
24*7688df22SAndroid Build Coastguard Worker  * next paragraph) shall be included in all copies or substantial portions
25*7688df22SAndroid Build Coastguard Worker  * of the Software.
26*7688df22SAndroid Build Coastguard Worker  */
27*7688df22SAndroid Build Coastguard Worker /*
28*7688df22SAndroid Build Coastguard Worker  * Authors:
29*7688df22SAndroid Build Coastguard Worker  *      Aapo Tahkola <[email protected]>
30*7688df22SAndroid Build Coastguard Worker  *      Nicolai Haehnle <[email protected]>
31*7688df22SAndroid Build Coastguard Worker  *      Jérôme Glisse <[email protected]>
32*7688df22SAndroid Build Coastguard Worker  */
33*7688df22SAndroid Build Coastguard Worker #ifndef RADEON_CS_GEM_H
34*7688df22SAndroid Build Coastguard Worker #define RADEON_CS_GEM_H
35*7688df22SAndroid Build Coastguard Worker 
36*7688df22SAndroid Build Coastguard Worker #include "radeon_cs.h"
37*7688df22SAndroid Build Coastguard Worker 
38*7688df22SAndroid Build Coastguard Worker struct radeon_cs_manager *radeon_cs_manager_gem_ctor(int fd);
39*7688df22SAndroid Build Coastguard Worker void radeon_cs_manager_gem_dtor(struct radeon_cs_manager *csm);
40*7688df22SAndroid Build Coastguard Worker 
41*7688df22SAndroid Build Coastguard Worker #endif
42