diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2018-01-29 03:33:46 -0500 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-02-01 10:32:58 -0500 |
commit | b5a756a722286af9702d565501e1f690d075d16b (patch) | |
tree | 8a72208a32f22e63cfce2633226596cabbe8766d | |
parent | a306343bcd7df89d9d45a601929e26866e7b7a81 (diff) |
Revert "drm/i915: mark all device info struct with __initconst"
This reverts commit 5b54eddd3920e9f6f1a6d972454baf350cbae77e.
Conflicts:
drivers/gpu/drm/i915/i915_pci.c
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104805
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Fixes: 5b54eddd3920 ("drm/i915: mark all device info struct with __initconst")
Link: https://patchwork.freedesktop.org/patch/msgid/20180129083346.29173-1-lionel.g.landwerlin@intel.com
(cherry picked from commit 5db47e37b38755c5e26e6b8fbc1a32ce73495940)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/i915_pci.c | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index 36d48422b475..1c30c688f23a 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c | |||
@@ -74,19 +74,19 @@ | |||
74 | GEN_DEFAULT_PAGE_SIZES, \ | 74 | GEN_DEFAULT_PAGE_SIZES, \ |
75 | CURSOR_OFFSETS | 75 | CURSOR_OFFSETS |
76 | 76 | ||
77 | static const struct intel_device_info intel_i830_info __initconst = { | 77 | static const struct intel_device_info intel_i830_info = { |
78 | GEN2_FEATURES, | 78 | GEN2_FEATURES, |
79 | .platform = INTEL_I830, | 79 | .platform = INTEL_I830, |
80 | .is_mobile = 1, .cursor_needs_physical = 1, | 80 | .is_mobile = 1, .cursor_needs_physical = 1, |
81 | .num_pipes = 2, /* legal, last one wins */ | 81 | .num_pipes = 2, /* legal, last one wins */ |
82 | }; | 82 | }; |
83 | 83 | ||
84 | static const struct intel_device_info intel_i845g_info __initconst = { | 84 | static const struct intel_device_info intel_i845g_info = { |
85 | GEN2_FEATURES, | 85 | GEN2_FEATURES, |
86 | .platform = INTEL_I845G, | 86 | .platform = INTEL_I845G, |
87 | }; | 87 | }; |
88 | 88 | ||
89 | static const struct intel_device_info intel_i85x_info __initconst = { | 89 | static const struct intel_device_info intel_i85x_info = { |
90 | GEN2_FEATURES, | 90 | GEN2_FEATURES, |
91 | .platform = INTEL_I85X, .is_mobile = 1, | 91 | .platform = INTEL_I85X, .is_mobile = 1, |
92 | .num_pipes = 2, /* legal, last one wins */ | 92 | .num_pipes = 2, /* legal, last one wins */ |
@@ -94,7 +94,7 @@ static const struct intel_device_info intel_i85x_info __initconst = { | |||
94 | .has_fbc = 1, | 94 | .has_fbc = 1, |
95 | }; | 95 | }; |
96 | 96 | ||
97 | static const struct intel_device_info intel_i865g_info __initconst = { | 97 | static const struct intel_device_info intel_i865g_info = { |
98 | GEN2_FEATURES, | 98 | GEN2_FEATURES, |
99 | .platform = INTEL_I865G, | 99 | .platform = INTEL_I865G, |
100 | }; | 100 | }; |
@@ -108,7 +108,7 @@ static const struct intel_device_info intel_i865g_info __initconst = { | |||
108 | GEN_DEFAULT_PAGE_SIZES, \ | 108 | GEN_DEFAULT_PAGE_SIZES, \ |
109 | CURSOR_OFFSETS | 109 | CURSOR_OFFSETS |
110 | 110 | ||
111 | static const struct intel_device_info intel_i915g_info __initconst = { | 111 | static const struct intel_device_info intel_i915g_info = { |
112 | GEN3_FEATURES, | 112 | GEN3_FEATURES, |
113 | .platform = INTEL_I915G, .cursor_needs_physical = 1, | 113 | .platform = INTEL_I915G, .cursor_needs_physical = 1, |
114 | .has_overlay = 1, .overlay_needs_physical = 1, | 114 | .has_overlay = 1, .overlay_needs_physical = 1, |
@@ -116,7 +116,7 @@ static const struct intel_device_info intel_i915g_info __initconst = { | |||
116 | .unfenced_needs_alignment = 1, | 116 | .unfenced_needs_alignment = 1, |
117 | }; | 117 | }; |
118 | 118 | ||
119 | static const struct intel_device_info intel_i915gm_info __initconst = { | 119 | static const struct intel_device_info intel_i915gm_info = { |
120 | GEN3_FEATURES, | 120 | GEN3_FEATURES, |
121 | .platform = INTEL_I915GM, | 121 | .platform = INTEL_I915GM, |
122 | .is_mobile = 1, | 122 | .is_mobile = 1, |
@@ -128,7 +128,7 @@ static const struct intel_device_info intel_i915gm_info __initconst = { | |||
128 | .unfenced_needs_alignment = 1, | 128 | .unfenced_needs_alignment = 1, |
129 | }; | 129 | }; |
130 | 130 | ||
131 | static const struct intel_device_info intel_i945g_info __initconst = { | 131 | static const struct intel_device_info intel_i945g_info = { |
132 | GEN3_FEATURES, | 132 | GEN3_FEATURES, |
133 | .platform = INTEL_I945G, | 133 | .platform = INTEL_I945G, |
134 | .has_hotplug = 1, .cursor_needs_physical = 1, | 134 | .has_hotplug = 1, .cursor_needs_physical = 1, |
@@ -137,7 +137,7 @@ static const struct intel_device_info intel_i945g_info __initconst = { | |||
137 | .unfenced_needs_alignment = 1, | 137 | .unfenced_needs_alignment = 1, |
138 | }; | 138 | }; |
139 | 139 | ||
140 | static const struct intel_device_info intel_i945gm_info __initconst = { | 140 | static const struct intel_device_info intel_i945gm_info = { |
141 | GEN3_FEATURES, | 141 | GEN3_FEATURES, |
142 | .platform = INTEL_I945GM, .is_mobile = 1, | 142 | .platform = INTEL_I945GM, .is_mobile = 1, |
143 | .has_hotplug = 1, .cursor_needs_physical = 1, | 143 | .has_hotplug = 1, .cursor_needs_physical = 1, |
@@ -148,14 +148,14 @@ static const struct intel_device_info intel_i945gm_info __initconst = { | |||
148 | .unfenced_needs_alignment = 1, | 148 | .unfenced_needs_alignment = 1, |
149 | }; | 149 | }; |
150 | 150 | ||
151 | static const struct intel_device_info intel_g33_info __initconst = { | 151 | static const struct intel_device_info intel_g33_info = { |
152 | GEN3_FEATURES, | 152 | GEN3_FEATURES, |
153 | .platform = INTEL_G33, | 153 | .platform = INTEL_G33, |
154 | .has_hotplug = 1, | 154 | .has_hotplug = 1, |
155 | .has_overlay = 1, | 155 | .has_overlay = 1, |
156 | }; | 156 | }; |
157 | 157 | ||
158 | static const struct intel_device_info intel_pineview_info __initconst = { | 158 | static const struct intel_device_info intel_pineview_info = { |
159 | GEN3_FEATURES, | 159 | GEN3_FEATURES, |
160 | .platform = INTEL_PINEVIEW, .is_mobile = 1, | 160 | .platform = INTEL_PINEVIEW, .is_mobile = 1, |
161 | .has_hotplug = 1, | 161 | .has_hotplug = 1, |
@@ -172,7 +172,7 @@ static const struct intel_device_info intel_pineview_info __initconst = { | |||
172 | GEN_DEFAULT_PAGE_SIZES, \ | 172 | GEN_DEFAULT_PAGE_SIZES, \ |
173 | CURSOR_OFFSETS | 173 | CURSOR_OFFSETS |
174 | 174 | ||
175 | static const struct intel_device_info intel_i965g_info __initconst = { | 175 | static const struct intel_device_info intel_i965g_info = { |
176 | GEN4_FEATURES, | 176 | GEN4_FEATURES, |
177 | .platform = INTEL_I965G, | 177 | .platform = INTEL_I965G, |
178 | .has_overlay = 1, | 178 | .has_overlay = 1, |
@@ -180,7 +180,7 @@ static const struct intel_device_info intel_i965g_info __initconst = { | |||
180 | .has_snoop = false, | 180 | .has_snoop = false, |
181 | }; | 181 | }; |
182 | 182 | ||
183 | static const struct intel_device_info intel_i965gm_info __initconst = { | 183 | static const struct intel_device_info intel_i965gm_info = { |
184 | GEN4_FEATURES, | 184 | GEN4_FEATURES, |
185 | .platform = INTEL_I965GM, | 185 | .platform = INTEL_I965GM, |
186 | .is_mobile = 1, .has_fbc = 1, | 186 | .is_mobile = 1, .has_fbc = 1, |
@@ -190,13 +190,13 @@ static const struct intel_device_info intel_i965gm_info __initconst = { | |||
190 | .has_snoop = false, | 190 | .has_snoop = false, |
191 | }; | 191 | }; |
192 | 192 | ||
193 | static const struct intel_device_info intel_g45_info __initconst = { | 193 | static const struct intel_device_info intel_g45_info = { |
194 | GEN4_FEATURES, | 194 | GEN4_FEATURES, |
195 | .platform = INTEL_G45, | 195 | .platform = INTEL_G45, |
196 | .ring_mask = RENDER_RING | BSD_RING, | 196 | .ring_mask = RENDER_RING | BSD_RING, |
197 | }; | 197 | }; |
198 | 198 | ||
199 | static const struct intel_device_info intel_gm45_info __initconst = { | 199 | static const struct intel_device_info intel_gm45_info = { |
200 | GEN4_FEATURES, | 200 | GEN4_FEATURES, |
201 | .platform = INTEL_GM45, | 201 | .platform = INTEL_GM45, |
202 | .is_mobile = 1, .has_fbc = 1, | 202 | .is_mobile = 1, .has_fbc = 1, |
@@ -215,12 +215,12 @@ static const struct intel_device_info intel_gm45_info __initconst = { | |||
215 | GEN_DEFAULT_PAGE_SIZES, \ | 215 | GEN_DEFAULT_PAGE_SIZES, \ |
216 | CURSOR_OFFSETS | 216 | CURSOR_OFFSETS |
217 | 217 | ||
218 | static const struct intel_device_info intel_ironlake_d_info __initconst = { | 218 | static const struct intel_device_info intel_ironlake_d_info = { |
219 | GEN5_FEATURES, | 219 | GEN5_FEATURES, |
220 | .platform = INTEL_IRONLAKE, | 220 | .platform = INTEL_IRONLAKE, |
221 | }; | 221 | }; |
222 | 222 | ||
223 | static const struct intel_device_info intel_ironlake_m_info __initconst = { | 223 | static const struct intel_device_info intel_ironlake_m_info = { |
224 | GEN5_FEATURES, | 224 | GEN5_FEATURES, |
225 | .platform = INTEL_IRONLAKE, | 225 | .platform = INTEL_IRONLAKE, |
226 | .is_mobile = 1, .has_fbc = 1, | 226 | .is_mobile = 1, .has_fbc = 1, |
@@ -243,12 +243,12 @@ static const struct intel_device_info intel_ironlake_m_info __initconst = { | |||
243 | GEN6_FEATURES, \ | 243 | GEN6_FEATURES, \ |
244 | .platform = INTEL_SANDYBRIDGE | 244 | .platform = INTEL_SANDYBRIDGE |
245 | 245 | ||
246 | static const struct intel_device_info intel_sandybridge_d_gt1_info __initconst = { | 246 | static const struct intel_device_info intel_sandybridge_d_gt1_info = { |
247 | SNB_D_PLATFORM, | 247 | SNB_D_PLATFORM, |
248 | .gt = 1, | 248 | .gt = 1, |
249 | }; | 249 | }; |
250 | 250 | ||
251 | static const struct intel_device_info intel_sandybridge_d_gt2_info __initconst = { | 251 | static const struct intel_device_info intel_sandybridge_d_gt2_info = { |
252 | SNB_D_PLATFORM, | 252 | SNB_D_PLATFORM, |
253 | .gt = 2, | 253 | .gt = 2, |
254 | }; | 254 | }; |
@@ -259,12 +259,12 @@ static const struct intel_device_info intel_sandybridge_d_gt2_info __initconst = | |||
259 | .is_mobile = 1 | 259 | .is_mobile = 1 |
260 | 260 | ||
261 | 261 | ||
262 | static const struct intel_device_info intel_sandybridge_m_gt1_info __initconst = { | 262 | static const struct intel_device_info intel_sandybridge_m_gt1_info = { |
263 | SNB_M_PLATFORM, | 263 | SNB_M_PLATFORM, |
264 | .gt = 1, | 264 | .gt = 1, |
265 | }; | 265 | }; |
266 | 266 | ||
267 | static const struct intel_device_info intel_sandybridge_m_gt2_info __initconst = { | 267 | static const struct intel_device_info intel_sandybridge_m_gt2_info = { |
268 | SNB_M_PLATFORM, | 268 | SNB_M_PLATFORM, |
269 | .gt = 2, | 269 | .gt = 2, |
270 | }; | 270 | }; |
@@ -288,12 +288,12 @@ static const struct intel_device_info intel_sandybridge_m_gt2_info __initconst = | |||
288 | .platform = INTEL_IVYBRIDGE, \ | 288 | .platform = INTEL_IVYBRIDGE, \ |
289 | .has_l3_dpf = 1 | 289 | .has_l3_dpf = 1 |
290 | 290 | ||
291 | static const struct intel_device_info intel_ivybridge_d_gt1_info __initconst = { | 291 | static const struct intel_device_info intel_ivybridge_d_gt1_info = { |
292 | IVB_D_PLATFORM, | 292 | IVB_D_PLATFORM, |
293 | .gt = 1, | 293 | .gt = 1, |
294 | }; | 294 | }; |
295 | 295 | ||
296 | static const struct intel_device_info intel_ivybridge_d_gt2_info __initconst = { | 296 | static const struct intel_device_info intel_ivybridge_d_gt2_info = { |
297 | IVB_D_PLATFORM, | 297 | IVB_D_PLATFORM, |
298 | .gt = 2, | 298 | .gt = 2, |
299 | }; | 299 | }; |
@@ -304,17 +304,17 @@ static const struct intel_device_info intel_ivybridge_d_gt2_info __initconst = { | |||
304 | .is_mobile = 1, \ | 304 | .is_mobile = 1, \ |
305 | .has_l3_dpf = 1 | 305 | .has_l3_dpf = 1 |
306 | 306 | ||
307 | static const struct intel_device_info intel_ivybridge_m_gt1_info __initconst = { | 307 | static const struct intel_device_info intel_ivybridge_m_gt1_info = { |
308 | IVB_M_PLATFORM, | 308 | IVB_M_PLATFORM, |
309 | .gt = 1, | 309 | .gt = 1, |
310 | }; | 310 | }; |
311 | 311 | ||
312 | static const struct intel_device_info intel_ivybridge_m_gt2_info __initconst = { | 312 | static const struct intel_device_info intel_ivybridge_m_gt2_info = { |
313 | IVB_M_PLATFORM, | 313 | IVB_M_PLATFORM, |
314 | .gt = 2, | 314 | .gt = 2, |
315 | }; | 315 | }; |
316 | 316 | ||
317 | static const struct intel_device_info intel_ivybridge_q_info __initconst = { | 317 | static const struct intel_device_info intel_ivybridge_q_info = { |
318 | GEN7_FEATURES, | 318 | GEN7_FEATURES, |
319 | .platform = INTEL_IVYBRIDGE, | 319 | .platform = INTEL_IVYBRIDGE, |
320 | .gt = 2, | 320 | .gt = 2, |
@@ -322,7 +322,7 @@ static const struct intel_device_info intel_ivybridge_q_info __initconst = { | |||
322 | .has_l3_dpf = 1, | 322 | .has_l3_dpf = 1, |
323 | }; | 323 | }; |
324 | 324 | ||
325 | static const struct intel_device_info intel_valleyview_info __initconst = { | 325 | static const struct intel_device_info intel_valleyview_info = { |
326 | .platform = INTEL_VALLEYVIEW, | 326 | .platform = INTEL_VALLEYVIEW, |
327 | .gen = 7, | 327 | .gen = 7, |
328 | .is_lp = 1, | 328 | .is_lp = 1, |
@@ -358,17 +358,17 @@ static const struct intel_device_info intel_valleyview_info __initconst = { | |||
358 | .platform = INTEL_HASWELL, \ | 358 | .platform = INTEL_HASWELL, \ |
359 | .has_l3_dpf = 1 | 359 | .has_l3_dpf = 1 |
360 | 360 | ||
361 | static const struct intel_device_info intel_haswell_gt1_info __initconst = { | 361 | static const struct intel_device_info intel_haswell_gt1_info = { |
362 | HSW_PLATFORM, | 362 | HSW_PLATFORM, |
363 | .gt = 1, | 363 | .gt = 1, |
364 | }; | 364 | }; |
365 | 365 | ||
366 | static const struct intel_device_info intel_haswell_gt2_info __initconst = { | 366 | static const struct intel_device_info intel_haswell_gt2_info = { |
367 | HSW_PLATFORM, | 367 | HSW_PLATFORM, |
368 | .gt = 2, | 368 | .gt = 2, |
369 | }; | 369 | }; |
370 | 370 | ||
371 | static const struct intel_device_info intel_haswell_gt3_info __initconst = { | 371 | static const struct intel_device_info intel_haswell_gt3_info = { |
372 | HSW_PLATFORM, | 372 | HSW_PLATFORM, |
373 | .gt = 3, | 373 | .gt = 3, |
374 | }; | 374 | }; |
@@ -388,17 +388,17 @@ static const struct intel_device_info intel_haswell_gt3_info __initconst = { | |||
388 | .gen = 8, \ | 388 | .gen = 8, \ |
389 | .platform = INTEL_BROADWELL | 389 | .platform = INTEL_BROADWELL |
390 | 390 | ||
391 | static const struct intel_device_info intel_broadwell_gt1_info __initconst = { | 391 | static const struct intel_device_info intel_broadwell_gt1_info = { |
392 | BDW_PLATFORM, | 392 | BDW_PLATFORM, |
393 | .gt = 1, | 393 | .gt = 1, |
394 | }; | 394 | }; |
395 | 395 | ||
396 | static const struct intel_device_info intel_broadwell_gt2_info __initconst = { | 396 | static const struct intel_device_info intel_broadwell_gt2_info = { |
397 | BDW_PLATFORM, | 397 | BDW_PLATFORM, |
398 | .gt = 2, | 398 | .gt = 2, |
399 | }; | 399 | }; |
400 | 400 | ||
401 | static const struct intel_device_info intel_broadwell_rsvd_info __initconst = { | 401 | static const struct intel_device_info intel_broadwell_rsvd_info = { |
402 | BDW_PLATFORM, | 402 | BDW_PLATFORM, |
403 | .gt = 3, | 403 | .gt = 3, |
404 | /* According to the device ID those devices are GT3, they were | 404 | /* According to the device ID those devices are GT3, they were |
@@ -406,13 +406,13 @@ static const struct intel_device_info intel_broadwell_rsvd_info __initconst = { | |||
406 | */ | 406 | */ |
407 | }; | 407 | }; |
408 | 408 | ||
409 | static const struct intel_device_info intel_broadwell_gt3_info __initconst = { | 409 | static const struct intel_device_info intel_broadwell_gt3_info = { |
410 | BDW_PLATFORM, | 410 | BDW_PLATFORM, |
411 | .gt = 3, | 411 | .gt = 3, |
412 | .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING, | 412 | .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING, |
413 | }; | 413 | }; |
414 | 414 | ||
415 | static const struct intel_device_info intel_cherryview_info __initconst = { | 415 | static const struct intel_device_info intel_cherryview_info = { |
416 | .gen = 8, .num_pipes = 3, | 416 | .gen = 8, .num_pipes = 3, |
417 | .has_hotplug = 1, | 417 | .has_hotplug = 1, |
418 | .is_lp = 1, | 418 | .is_lp = 1, |
@@ -455,12 +455,12 @@ static const struct intel_device_info intel_cherryview_info __initconst = { | |||
455 | .gen = 9, \ | 455 | .gen = 9, \ |
456 | .platform = INTEL_SKYLAKE | 456 | .platform = INTEL_SKYLAKE |
457 | 457 | ||
458 | static const struct intel_device_info intel_skylake_gt1_info __initconst = { | 458 | static const struct intel_device_info intel_skylake_gt1_info = { |
459 | SKL_PLATFORM, | 459 | SKL_PLATFORM, |
460 | .gt = 1, | 460 | .gt = 1, |
461 | }; | 461 | }; |
462 | 462 | ||
463 | static const struct intel_device_info intel_skylake_gt2_info __initconst = { | 463 | static const struct intel_device_info intel_skylake_gt2_info = { |
464 | SKL_PLATFORM, | 464 | SKL_PLATFORM, |
465 | .gt = 2, | 465 | .gt = 2, |
466 | }; | 466 | }; |
@@ -470,12 +470,12 @@ static const struct intel_device_info intel_skylake_gt2_info __initconst = { | |||
470 | .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING | 470 | .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING |
471 | 471 | ||
472 | 472 | ||
473 | static const struct intel_device_info intel_skylake_gt3_info __initconst = { | 473 | static const struct intel_device_info intel_skylake_gt3_info = { |
474 | SKL_GT3_PLUS_PLATFORM, | 474 | SKL_GT3_PLUS_PLATFORM, |
475 | .gt = 3, | 475 | .gt = 3, |
476 | }; | 476 | }; |
477 | 477 | ||
478 | static const struct intel_device_info intel_skylake_gt4_info __initconst = { | 478 | static const struct intel_device_info intel_skylake_gt4_info = { |
479 | SKL_GT3_PLUS_PLATFORM, | 479 | SKL_GT3_PLUS_PLATFORM, |
480 | .gt = 4, | 480 | .gt = 4, |
481 | }; | 481 | }; |
@@ -511,13 +511,13 @@ static const struct intel_device_info intel_skylake_gt4_info __initconst = { | |||
511 | IVB_CURSOR_OFFSETS, \ | 511 | IVB_CURSOR_OFFSETS, \ |
512 | BDW_COLORS | 512 | BDW_COLORS |
513 | 513 | ||
514 | static const struct intel_device_info intel_broxton_info __initconst = { | 514 | static const struct intel_device_info intel_broxton_info = { |
515 | GEN9_LP_FEATURES, | 515 | GEN9_LP_FEATURES, |
516 | .platform = INTEL_BROXTON, | 516 | .platform = INTEL_BROXTON, |
517 | .ddb_size = 512, | 517 | .ddb_size = 512, |
518 | }; | 518 | }; |
519 | 519 | ||
520 | static const struct intel_device_info intel_geminilake_info __initconst = { | 520 | static const struct intel_device_info intel_geminilake_info = { |
521 | GEN9_LP_FEATURES, | 521 | GEN9_LP_FEATURES, |
522 | .platform = INTEL_GEMINILAKE, | 522 | .platform = INTEL_GEMINILAKE, |
523 | .ddb_size = 1024, | 523 | .ddb_size = 1024, |
@@ -529,17 +529,17 @@ static const struct intel_device_info intel_geminilake_info __initconst = { | |||
529 | .gen = 9, \ | 529 | .gen = 9, \ |
530 | .platform = INTEL_KABYLAKE | 530 | .platform = INTEL_KABYLAKE |
531 | 531 | ||
532 | static const struct intel_device_info intel_kabylake_gt1_info __initconst = { | 532 | static const struct intel_device_info intel_kabylake_gt1_info = { |
533 | KBL_PLATFORM, | 533 | KBL_PLATFORM, |
534 | .gt = 1, | 534 | .gt = 1, |
535 | }; | 535 | }; |
536 | 536 | ||
537 | static const struct intel_device_info intel_kabylake_gt2_info __initconst = { | 537 | static const struct intel_device_info intel_kabylake_gt2_info = { |
538 | KBL_PLATFORM, | 538 | KBL_PLATFORM, |
539 | .gt = 2, | 539 | .gt = 2, |
540 | }; | 540 | }; |
541 | 541 | ||
542 | static const struct intel_device_info intel_kabylake_gt3_info __initconst = { | 542 | static const struct intel_device_info intel_kabylake_gt3_info = { |
543 | KBL_PLATFORM, | 543 | KBL_PLATFORM, |
544 | .gt = 3, | 544 | .gt = 3, |
545 | .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING, | 545 | .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING, |
@@ -550,17 +550,17 @@ static const struct intel_device_info intel_kabylake_gt3_info __initconst = { | |||
550 | .gen = 9, \ | 550 | .gen = 9, \ |
551 | .platform = INTEL_COFFEELAKE | 551 | .platform = INTEL_COFFEELAKE |
552 | 552 | ||
553 | static const struct intel_device_info intel_coffeelake_gt1_info __initconst = { | 553 | static const struct intel_device_info intel_coffeelake_gt1_info = { |
554 | CFL_PLATFORM, | 554 | CFL_PLATFORM, |
555 | .gt = 1, | 555 | .gt = 1, |
556 | }; | 556 | }; |
557 | 557 | ||
558 | static const struct intel_device_info intel_coffeelake_gt2_info __initconst = { | 558 | static const struct intel_device_info intel_coffeelake_gt2_info = { |
559 | CFL_PLATFORM, | 559 | CFL_PLATFORM, |
560 | .gt = 2, | 560 | .gt = 2, |
561 | }; | 561 | }; |
562 | 562 | ||
563 | static const struct intel_device_info intel_coffeelake_gt3_info __initconst = { | 563 | static const struct intel_device_info intel_coffeelake_gt3_info = { |
564 | CFL_PLATFORM, | 564 | CFL_PLATFORM, |
565 | .gt = 3, | 565 | .gt = 3, |
566 | .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING, | 566 | .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING, |
@@ -571,7 +571,7 @@ static const struct intel_device_info intel_coffeelake_gt3_info __initconst = { | |||
571 | .ddb_size = 1024, \ | 571 | .ddb_size = 1024, \ |
572 | GLK_COLORS | 572 | GLK_COLORS |
573 | 573 | ||
574 | static const struct intel_device_info intel_cannonlake_gt2_info __initconst = { | 574 | static const struct intel_device_info intel_cannonlake_gt2_info = { |
575 | GEN10_FEATURES, | 575 | GEN10_FEATURES, |
576 | .is_alpha_support = 1, | 576 | .is_alpha_support = 1, |
577 | .platform = INTEL_CANNONLAKE, | 577 | .platform = INTEL_CANNONLAKE, |