xref: /aosp_15_r20/external/libdrm/tests/util/kms.h (revision 7688df22e49036ff52a766b7101da3a49edadb8c)
1*7688df22SAndroid Build Coastguard Worker /*
2*7688df22SAndroid Build Coastguard Worker  * Copyright 2008 Tungsten Graphics
3*7688df22SAndroid Build Coastguard Worker  *   Jakob Bornecrantz <[email protected]>
4*7688df22SAndroid Build Coastguard Worker  * Copyright 2008 Intel Corporation
5*7688df22SAndroid Build Coastguard Worker  *   Jesse Barnes <[email protected]>
6*7688df22SAndroid Build Coastguard Worker  *
7*7688df22SAndroid Build Coastguard Worker  * Permission is hereby granted, free of charge, to any person obtaining a
8*7688df22SAndroid Build Coastguard Worker  * copy of this software and associated documentation files (the "Software"),
9*7688df22SAndroid Build Coastguard Worker  * to deal in the Software without restriction, including without limitation
10*7688df22SAndroid Build Coastguard Worker  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11*7688df22SAndroid Build Coastguard Worker  * and/or sell copies of the Software, and to permit persons to whom the
12*7688df22SAndroid Build Coastguard Worker  * Software is furnished to do so, subject to the following conditions:
13*7688df22SAndroid Build Coastguard Worker  *
14*7688df22SAndroid Build Coastguard Worker  * The above copyright notice and this permission notice shall be included in
15*7688df22SAndroid Build Coastguard Worker  * all copies or substantial portions of the Software.
16*7688df22SAndroid Build Coastguard Worker  *
17*7688df22SAndroid Build Coastguard Worker  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18*7688df22SAndroid Build Coastguard Worker  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19*7688df22SAndroid Build Coastguard Worker  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20*7688df22SAndroid Build Coastguard Worker  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21*7688df22SAndroid Build Coastguard Worker  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22*7688df22SAndroid Build Coastguard Worker  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23*7688df22SAndroid Build Coastguard Worker  * IN THE SOFTWARE.
24*7688df22SAndroid Build Coastguard Worker  */
25*7688df22SAndroid Build Coastguard Worker 
26*7688df22SAndroid Build Coastguard Worker #ifndef UTIL_KMS_H
27*7688df22SAndroid Build Coastguard Worker #define UTIL_KMS_H
28*7688df22SAndroid Build Coastguard Worker 
29*7688df22SAndroid Build Coastguard Worker const char *util_lookup_encoder_type_name(unsigned int type);
30*7688df22SAndroid Build Coastguard Worker const char *util_lookup_connector_status_name(unsigned int type);
31*7688df22SAndroid Build Coastguard Worker 
32*7688df22SAndroid Build Coastguard Worker int util_open(const char *device, const char *module);
33*7688df22SAndroid Build Coastguard Worker 
34*7688df22SAndroid Build Coastguard Worker #endif /* UTIL_KMS_H */
35