xref: /linux/drivers/gpu/drm/amd/display/dc/bios/bios_parser_common.h (revision 664b0bae0b87f69bc9deb098f5e0158b9cf18e04)
1*e25cb588SDave Airlie /*
2*e25cb588SDave Airlie  * Copyright 2012-15 Advanced Micro Devices, Inc.
3*e25cb588SDave Airlie  *
4*e25cb588SDave Airlie  * Permission is hereby granted, free of charge, to any person obtaining a
5*e25cb588SDave Airlie  * copy of this software and associated documentation files (the "Software"),
6*e25cb588SDave Airlie  * to deal in the Software without restriction, including without limitation
7*e25cb588SDave Airlie  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8*e25cb588SDave Airlie  * and/or sell copies of the Software, and to permit persons to whom the
9*e25cb588SDave Airlie  * Software is furnished to do so, subject to the following conditions:
10*e25cb588SDave Airlie  *
11*e25cb588SDave Airlie  * The above copyright notice and this permission notice shall be included in
12*e25cb588SDave Airlie  * all copies or substantial portions of the Software.
13*e25cb588SDave Airlie  *
14*e25cb588SDave Airlie  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15*e25cb588SDave Airlie  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*e25cb588SDave Airlie  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17*e25cb588SDave Airlie  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18*e25cb588SDave Airlie  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19*e25cb588SDave Airlie  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20*e25cb588SDave Airlie  * OTHER DEALINGS IN THE SOFTWARE.
21*e25cb588SDave Airlie  *
22*e25cb588SDave Airlie  * Authors: AMD
23*e25cb588SDave Airlie  *
24*e25cb588SDave Airlie  */
25*e25cb588SDave Airlie 
26*e25cb588SDave Airlie #ifndef __BIOS_PARSER_COMMON_H__
27*e25cb588SDave Airlie #define __BIOS_PARSER_COMMON_H__
28*e25cb588SDave Airlie 
29*e25cb588SDave Airlie #include "dm_services.h"
30*e25cb588SDave Airlie #include "ObjectID.h"
31*e25cb588SDave Airlie 
32*e25cb588SDave Airlie struct graphics_object_id object_id_from_bios_object_id(uint32_t bios_object_id);
33*e25cb588SDave Airlie #endif
34