/* * Copyright 2012-15 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. * * Authors: AMD * */ #ifndef __DAL_GRPH_OBJECT_CTRL_DEFS_H__ #define __DAL_GRPH_OBJECT_CTRL_DEFS_H__ #include "grph_object_defs.h" /* * ##################################################### * ##################################################### * * These defines shared between asic_control/bios_parser and other * DAL components * * ##################################################### * ##################################################### */ enum display_output_bit_depth { … }; /* Device type as abstracted by ATOM BIOS */ enum dal_device_type { … }; /* Device ID as abstracted by ATOM BIOS */ struct device_id { … }; struct graphics_object_i2c_info { … }; struct graphics_object_hpd_info { … }; struct connector_device_tag_info { … }; struct device_timing { … }; struct supported_refresh_rate { … }; struct embedded_panel_info { … }; struct dc_firmware_info { … }; struct dc_vram_info { … }; struct step_and_delay_info { … }; struct spread_spectrum_info { … }; struct graphics_object_encoder_cap_info { … }; struct din_connector_info { … }; /* Invalid channel mapping */ enum { … }; /** * DDI PHY channel mapping reflecting XBAR setting */ ddi_channel_mapping; /** * Transmitter output configuration description */ struct transmitter_configuration_info { … }; struct transmitter_configuration { … }; /* These size should be sufficient to store info coming from BIOS */ #define NUMBER_OF_UCHAR_FOR_GUID … #define MAX_NUMBER_OF_EXT_DISPLAY_PATH … #define NUMBER_OF_CSR_M3_ARB … #define NUMBER_OF_DISP_CLK_VOLTAGE … #define NUMBER_OF_AVAILABLE_SCLK … struct i2c_reg_info { … }; struct ext_hdmi_settings { … }; struct edp_info { … }; /* V6 */ struct integrated_info { … }; /* * DFS-bypass flag */ /* Copy of SYS_INFO_GPUCAPS__ENABEL_DFS_BYPASS from atombios.h */ enum { … }; enum { … }; struct panel_backlight_boundaries { … }; #endif