xref: /dflybsd-src/sys/dev/drm/amd/include/atomfirmwareid.h (revision b843c749addef9340ee7d4e250b09fdd492602a1)
1*b843c749SSergey Zigachev /****************************************************************************\
2*b843c749SSergey Zigachev *
3*b843c749SSergey Zigachev *  File Name      atomfirmwareid.h
4*b843c749SSergey Zigachev *
5*b843c749SSergey Zigachev *  Description    ATOM BIOS command/data table ID definition header file
6*b843c749SSergey Zigachev *
7*b843c749SSergey Zigachev *  Copyright 2016 Advanced Micro Devices, Inc.
8*b843c749SSergey Zigachev *
9*b843c749SSergey Zigachev * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
10*b843c749SSergey Zigachev * and associated documentation files (the "Software"), to deal in the Software without restriction,
11*b843c749SSergey Zigachev * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
12*b843c749SSergey Zigachev * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
13*b843c749SSergey Zigachev * subject to the following conditions:
14*b843c749SSergey Zigachev *
15*b843c749SSergey Zigachev * The above copyright notice and this permission notice shall be included in all copies or substantial
16*b843c749SSergey Zigachev * portions of the Software.
17*b843c749SSergey Zigachev *
18*b843c749SSergey Zigachev * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19*b843c749SSergey Zigachev * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20*b843c749SSergey Zigachev * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
21*b843c749SSergey Zigachev * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
22*b843c749SSergey Zigachev * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
23*b843c749SSergey Zigachev * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24*b843c749SSergey Zigachev * OTHER DEALINGS IN THE SOFTWARE.
25*b843c749SSergey Zigachev *
26*b843c749SSergey Zigachev \****************************************************************************/
27*b843c749SSergey Zigachev 
28*b843c749SSergey Zigachev #ifndef _ATOMFIRMWAREID_H_
29*b843c749SSergey Zigachev #define _ATOMFIRMWAREID_H_
30*b843c749SSergey Zigachev 
31*b843c749SSergey Zigachev enum atom_master_data_table_id
32*b843c749SSergey Zigachev {
33*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__UTILITY_PIPELINE,
34*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__MULTIMEDIA_INF,
35*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__FIRMWARE_INF,
36*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__LCD_INF,
37*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__SMU_INF,
38*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__VRAM_USAGE_BY_FIRMWARE,
39*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__GPIO_PIN_LUT,
40*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__GFX_INF,
41*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__POWER_PLAY_INF,
42*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__DISPLAY_OBJECT_INF,
43*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__INDIRECT_IO_ACCESS,
44*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__UMC_INF,
45*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__DCE_INF,
46*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__VRAM_INF,
47*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__INTEGRATED_SYS_INF,
48*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__ASIC_PROFILING_INF,
49*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__VOLTAGE_OBJ_INF,
50*b843c749SSergey Zigachev 
51*b843c749SSergey Zigachev     VBIOS_DATA_TBL_ID__UNDEFINED,
52*b843c749SSergey Zigachev };
53*b843c749SSergey Zigachev 
54*b843c749SSergey Zigachev enum atom_master_command_table_id
55*b843c749SSergey Zigachev {
56*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__ASIC_INIT,
57*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__DIGX_ENCODER_CONTROL,
58*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__SET_ENGINE_CLOCK,
59*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__SET_MEMORY_CLOCK,
60*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__SET_PIXEL_CLOCK,
61*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__ENABLE_DISP_POWER_GATING,
62*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__BLANK_CRTC,
63*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__ENABLE_CRTC,
64*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__GET_SMU_CLOCK_INFO,
65*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__SELECT_CRTC_SOURCE,
66*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__SET_DCE_CLOCK,
67*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__GET_MEMORY_CLOCK,
68*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__GET_ENGINE_CLOCK,
69*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__SET_CRTC_USING_DTD_TIMING,
70*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__EXTENAL_ENCODER_CONTROL,
71*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__PROCESS_I2C_CHANNEL_TRANSACTION,
72*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__COMPUTE_GPU_CLOCK_PARAM,
73*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__DYNAMIC_MEMORY_SETTINGS,
74*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__MEMORY_TRAINING,
75*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__SET_VOLTAGE,
76*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__DIG1_TRANSMITTER_CONTROL,
77*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__PROCESS_AUX_CHANNEL_TRANSACTION,
78*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__GET_VOLTAGE_INF,
79*b843c749SSergey Zigachev 
80*b843c749SSergey Zigachev     VBIOS_CMD_TBL_ID__UNDEFINED,
81*b843c749SSergey Zigachev };
82*b843c749SSergey Zigachev 
83*b843c749SSergey Zigachev 
84*b843c749SSergey Zigachev 
85*b843c749SSergey Zigachev #endif  /* _ATOMFIRMWAREID_H_  */
86*b843c749SSergey Zigachev /* ### EOF ### */
87