1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #ifndef _DISPLAY_OBJECT_SOC15_H_
30 #define _DISPLAY_OBJECT_SOC15_H_
31
32 #if defined(_X86_)
33 #pragma pack(1)
34 #endif
35
36
37
38
39
40 enum display_object_type{
41 DISPLAY_OBJECT_TYPE_NONE =0x00,
42 DISPLAY_OBJECT_TYPE_GPU =0x01,
43 DISPLAY_OBJECT_TYPE_ENCODER =0x02,
44 DISPLAY_OBJECT_TYPE_CONNECTOR =0x03
45 };
46
47
48
49
50 enum encoder_object_type{
51 ENCODER_OBJECT_ID_NONE =0x00,
52 ENCODER_OBJECT_ID_INTERNAL_UNIPHY =0x01,
53 ENCODER_OBJECT_ID_INTERNAL_UNIPHY1 =0x02,
54 ENCODER_OBJECT_ID_INTERNAL_UNIPHY2 =0x03,
55 };
56
57
58
59
60
61
62 enum connector_object_type{
63 CONNECTOR_OBJECT_ID_NONE =0x00,
64 CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D =0x01,
65 CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D =0x02,
66 CONNECTOR_OBJECT_ID_HDMI_TYPE_A =0x03,
67 CONNECTOR_OBJECT_ID_LVDS =0x04,
68 CONNECTOR_OBJECT_ID_DISPLAYPORT =0x05,
69 CONNECTOR_OBJECT_ID_eDP =0x06,
70 CONNECTOR_OBJECT_ID_OPM =0x07
71 };
72
73
74
75
76
77
78
79
80
81
82
83 enum object_enum_id{
84 OBJECT_ENUM_ID1 =0x01,
85 OBJECT_ENUM_ID2 =0x02,
86 OBJECT_ENUM_ID3 =0x03,
87 OBJECT_ENUM_ID4 =0x04,
88 OBJECT_ENUM_ID5 =0x05,
89 OBJECT_ENUM_ID6 =0x06
90 };
91
92
93
94
95 enum object_id_bit{
96 OBJECT_ID_MASK =0x00FF,
97 ENUM_ID_MASK =0x0F00,
98 OBJECT_TYPE_MASK =0xF000,
99 OBJECT_ID_SHIFT =0x00,
100 ENUM_ID_SHIFT =0x08,
101 OBJECT_TYPE_SHIFT =0x0C
102 };
103
104
105
106
107
108 enum gpu_objet_def{
109 GPU_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_GPU << OBJECT_TYPE_SHIFT | OBJECT_ENUM_ID1 << ENUM_ID_SHIFT)
110 };
111
112
113
114
115
116 enum encoder_objet_def{
117 ENCODER_INTERNAL_UNIPHY_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\
118 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
119 ENCODER_OBJECT_ID_INTERNAL_UNIPHY << OBJECT_ID_SHIFT),
120
121 ENCODER_INTERNAL_UNIPHY_ENUM_ID2 =( DISPLAY_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\
122 OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\
123 ENCODER_OBJECT_ID_INTERNAL_UNIPHY << OBJECT_ID_SHIFT),
124
125 ENCODER_INTERNAL_UNIPHY1_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\
126 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
127 ENCODER_OBJECT_ID_INTERNAL_UNIPHY1 << OBJECT_ID_SHIFT),
128
129 ENCODER_INTERNAL_UNIPHY1_ENUM_ID2 =( DISPLAY_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\
130 OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\
131 ENCODER_OBJECT_ID_INTERNAL_UNIPHY1 << OBJECT_ID_SHIFT),
132
133 ENCODER_INTERNAL_UNIPHY2_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\
134 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
135 ENCODER_OBJECT_ID_INTERNAL_UNIPHY2 << OBJECT_ID_SHIFT),
136
137 ENCODER_INTERNAL_UNIPHY2_ENUM_ID2 =( DISPLAY_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\
138 OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\
139 ENCODER_OBJECT_ID_INTERNAL_UNIPHY2 << OBJECT_ID_SHIFT)
140 };
141
142
143
144
145
146
147
148 enum connector_objet_def{
149 CONNECTOR_LVDS_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
150 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
151 CONNECTOR_OBJECT_ID_LVDS << OBJECT_ID_SHIFT),
152
153
154 CONNECTOR_eDP_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
155 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
156 CONNECTOR_OBJECT_ID_eDP << OBJECT_ID_SHIFT),
157
158 CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
159 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
160 CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D << OBJECT_ID_SHIFT),
161
162 CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID2 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
163 OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\
164 CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D << OBJECT_ID_SHIFT),
165
166
167 CONNECTOR_DUAL_LINK_DVI_D_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
168 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
169 CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D << OBJECT_ID_SHIFT),
170
171 CONNECTOR_DUAL_LINK_DVI_D_ENUM_ID2 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
172 OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\
173 CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D << OBJECT_ID_SHIFT),
174
175 CONNECTOR_HDMI_TYPE_A_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
176 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
177 CONNECTOR_OBJECT_ID_HDMI_TYPE_A << OBJECT_ID_SHIFT),
178
179 CONNECTOR_HDMI_TYPE_A_ENUM_ID2 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
180 OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\
181 CONNECTOR_OBJECT_ID_HDMI_TYPE_A << OBJECT_ID_SHIFT),
182
183 CONNECTOR_DISPLAYPORT_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
184 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
185 CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT),
186
187 CONNECTOR_DISPLAYPORT_ENUM_ID2 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
188 OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\
189 CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT),
190
191 CONNECTOR_DISPLAYPORT_ENUM_ID3 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
192 OBJECT_ENUM_ID3 << ENUM_ID_SHIFT |\
193 CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT),
194
195 CONNECTOR_DISPLAYPORT_ENUM_ID4 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
196 OBJECT_ENUM_ID4 << ENUM_ID_SHIFT |\
197 CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT),
198
199 CONNECTOR_OPM_ENUM_ID1 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
200 OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\
201 CONNECTOR_OBJECT_ID_OPM << OBJECT_ID_SHIFT),
202
203 CONNECTOR_OPM_ENUM_ID2 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
204 OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\
205 CONNECTOR_OBJECT_ID_OPM << OBJECT_ID_SHIFT),
206
207 CONNECTOR_OPM_ENUM_ID3 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
208 OBJECT_ENUM_ID3 << ENUM_ID_SHIFT |\
209 CONNECTOR_OBJECT_ID_OPM << OBJECT_ID_SHIFT),
210
211 CONNECTOR_OPM_ENUM_ID4 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
212 OBJECT_ENUM_ID4 << ENUM_ID_SHIFT |\
213 CONNECTOR_OBJECT_ID_OPM << OBJECT_ID_SHIFT),
214
215 CONNECTOR_OPM_ENUM_ID5 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
216 OBJECT_ENUM_ID5 << ENUM_ID_SHIFT |\
217 CONNECTOR_OBJECT_ID_OPM << OBJECT_ID_SHIFT),
218
219
220 CONNECTOR_OPM_ENUM_ID6 =( DISPLAY_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\
221 OBJECT_ENUM_ID6 << ENUM_ID_SHIFT |\
222 CONNECTOR_OBJECT_ID_OPM << OBJECT_ID_SHIFT)
223 };
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242 #if defined(_X86_)
243 #pragma pack()
244 #endif
245
246 #endif
247
248
249