162
162
#define I830_FEATURES \
163
163
GEN(2), \
164
164
.is_mobile = 1, \
165
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
166
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
165
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
166
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
167
167
.display.has_overlay = 1, \
168
168
.display.cursor_needs_physical = 1, \
169
169
.display.overlay_needs_physical = 1, \
183
183
184
184
#define I845_FEATURES \
185
185
GEN(2), \
186
- .pipe_mask = BIT(PIPE_A), \
187
- .cpu_transcoder_mask = BIT(TRANSCODER_A), \
186
+ .display. pipe_mask = BIT(PIPE_A), \
187
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A), \
188
188
.display.has_overlay = 1, \
189
189
.display.overlay_needs_physical = 1, \
190
190
.display.has_gmch = 1, \
@@ -225,8 +225,8 @@ static const struct intel_device_info i865g_info = {
225
225
226
226
#define GEN3_FEATURES \
227
227
GEN(3), \
228
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
229
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
228
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
229
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
230
230
.display.has_gmch = 1, \
231
231
.gpu_reset_clobbers_display = true, \
232
232
.platform_engine_mask = BIT(RCS0), \
@@ -315,8 +315,8 @@ static const struct intel_device_info pnv_m_info = {
315
315
316
316
#define GEN4_FEATURES \
317
317
GEN(4), \
318
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
319
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
318
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
319
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
320
320
.display.has_hotplug = 1, \
321
321
.display.has_gmch = 1, \
322
322
.gpu_reset_clobbers_display = true, \
@@ -368,8 +368,8 @@ static const struct intel_device_info gm45_info = {
368
368
369
369
#define GEN5_FEATURES \
370
370
GEN(5), \
371
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
372
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
371
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
372
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
373
373
.display.has_hotplug = 1, \
374
374
.platform_engine_mask = BIT(RCS0) | BIT(VCS0), \
375
375
.has_snoop = true, \
@@ -398,8 +398,8 @@ static const struct intel_device_info ilk_m_info = {
398
398
399
399
#define GEN6_FEATURES \
400
400
GEN(6), \
401
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
402
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
401
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \
402
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \
403
403
.display.has_hotplug = 1, \
404
404
.display.has_fbc = 1, \
405
405
.platform_engine_mask = BIT(RCS0) | BIT(VCS0) | BIT(BCS0), \
@@ -449,8 +449,8 @@ static const struct intel_device_info snb_m_gt2_info = {
449
449
450
450
#define GEN7_FEATURES \
451
451
GEN(7), \
452
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C), \
453
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | BIT(TRANSCODER_C), \
452
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C), \
453
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | BIT(TRANSCODER_C), \
454
454
.display.has_hotplug = 1, \
455
455
.display.has_fbc = 1, \
456
456
.platform_engine_mask = BIT(RCS0) | BIT(VCS0) | BIT(BCS0), \
@@ -504,17 +504,17 @@ static const struct intel_device_info ivb_q_info = {
504
504
GEN7_FEATURES ,
505
505
PLATFORM (INTEL_IVYBRIDGE ),
506
506
.gt = 2 ,
507
- .pipe_mask = 0 , /* legal, last one wins */
508
- .cpu_transcoder_mask = 0 ,
507
+ .display . pipe_mask = 0 , /* legal, last one wins */
508
+ .display . cpu_transcoder_mask = 0 ,
509
509
.has_l3_dpf = 1 ,
510
510
};
511
511
512
512
static const struct intel_device_info vlv_info = {
513
513
PLATFORM (INTEL_VALLEYVIEW ),
514
514
GEN (7 ),
515
515
.is_lp = 1 ,
516
- .pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ),
517
- .cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ),
516
+ .display . pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ),
517
+ .display . cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ),
518
518
.has_runtime_pm = 1 ,
519
519
.has_rc6 = 1 ,
520
520
.has_reset_engine = true,
@@ -538,7 +538,7 @@ static const struct intel_device_info vlv_info = {
538
538
#define G75_FEATURES \
539
539
GEN7_FEATURES, \
540
540
.platform_engine_mask = BIT(RCS0) | BIT(VCS0) | BIT(BCS0) | BIT(VECS0), \
541
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \
541
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \
542
542
BIT(TRANSCODER_C) | BIT(TRANSCODER_EDP), \
543
543
.display.has_ddi = 1, \
544
544
.display.has_fpga_dbg = 1, \
@@ -608,8 +608,8 @@ static const struct intel_device_info bdw_gt3_info = {
608
608
static const struct intel_device_info chv_info = {
609
609
PLATFORM (INTEL_CHERRYVIEW ),
610
610
GEN (8 ),
611
- .pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ) | BIT (PIPE_C ),
612
- .cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ) | BIT (TRANSCODER_C ),
611
+ .display . pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ) | BIT (PIPE_C ),
612
+ .display . cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ) | BIT (TRANSCODER_C ),
613
613
.display .has_hotplug = 1 ,
614
614
.is_lp = 1 ,
615
615
.platform_engine_mask = BIT (RCS0 ) | BIT (VCS0 ) | BIT (BCS0 ) | BIT (VECS0 ),
@@ -686,8 +686,8 @@ static const struct intel_device_info skl_gt4_info = {
686
686
.dbuf.slice_mask = BIT(DBUF_S1), \
687
687
.display.has_hotplug = 1, \
688
688
.platform_engine_mask = BIT(RCS0) | BIT(VCS0) | BIT(BCS0) | BIT(VECS0), \
689
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C), \
690
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \
689
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C), \
690
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \
691
691
BIT(TRANSCODER_C) | BIT(TRANSCODER_EDP) | \
692
692
BIT(TRANSCODER_DSI_A) | BIT(TRANSCODER_DSI_C), \
693
693
.has_64bit_reloc = 1, \
@@ -795,8 +795,8 @@ static const struct intel_device_info cml_gt2_info = {
795
795
#define GEN11_FEATURES \
796
796
GEN9_FEATURES, \
797
797
GEN11_DEFAULT_PAGE_SIZES, \
798
- .abox_mask = BIT(0), \
799
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \
798
+ .display. abox_mask = BIT(0), \
799
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \
800
800
BIT(TRANSCODER_C) | BIT(TRANSCODER_EDP) | \
801
801
BIT(TRANSCODER_DSI_0) | BIT(TRANSCODER_DSI_1), \
802
802
.pipe_offsets = { \
@@ -847,9 +847,9 @@ static const struct intel_device_info jsl_info = {
847
847
#define GEN12_FEATURES \
848
848
GEN11_FEATURES, \
849
849
GEN(12), \
850
- .abox_mask = GENMASK(2, 1), \
851
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C) | BIT(PIPE_D), \
852
- .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \
850
+ .display. abox_mask = GENMASK(2, 1), \
851
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C) | BIT(PIPE_D), \
852
+ .display. cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \
853
853
BIT(TRANSCODER_C) | BIT(TRANSCODER_D) | \
854
854
BIT(TRANSCODER_DSI_0) | BIT(TRANSCODER_DSI_1), \
855
855
.pipe_offsets = { \
@@ -884,9 +884,9 @@ static const struct intel_device_info tgl_info = {
884
884
static const struct intel_device_info rkl_info = {
885
885
GEN12_FEATURES ,
886
886
PLATFORM (INTEL_ROCKETLAKE ),
887
- .abox_mask = BIT (0 ),
888
- .pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ) | BIT (PIPE_C ),
889
- .cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ) |
887
+ .display . abox_mask = BIT (0 ),
888
+ .display . pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ) | BIT (PIPE_C ),
889
+ .display . cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ) |
890
890
BIT (TRANSCODER_C ),
891
891
.display .has_hti = 1 ,
892
892
.display .has_psr_hw_tracking = 0 ,
@@ -906,7 +906,7 @@ static const struct intel_device_info dg1_info = {
906
906
DGFX_FEATURES ,
907
907
.graphics_rel = 10 ,
908
908
PLATFORM (INTEL_DG1 ),
909
- .pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ) | BIT (PIPE_C ) | BIT (PIPE_D ),
909
+ .display . pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ) | BIT (PIPE_C ) | BIT (PIPE_D ),
910
910
.require_force_probe = 1 ,
911
911
.platform_engine_mask =
912
912
BIT (RCS0 ) | BIT (BCS0 ) | BIT (VECS0 ) |
@@ -918,7 +918,7 @@ static const struct intel_device_info dg1_info = {
918
918
static const struct intel_device_info adl_s_info = {
919
919
GEN12_FEATURES ,
920
920
PLATFORM (INTEL_ALDERLAKE_S ),
921
- .pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ) | BIT (PIPE_C ) | BIT (PIPE_D ),
921
+ .display . pipe_mask = BIT (PIPE_A ) | BIT (PIPE_B ) | BIT (PIPE_C ) | BIT (PIPE_D ),
922
922
.display .has_hti = 1 ,
923
923
.display .has_psr_hw_tracking = 0 ,
924
924
.platform_engine_mask =
@@ -935,7 +935,7 @@ static const struct intel_device_info adl_s_info = {
935
935
}
936
936
937
937
#define XE_LPD_FEATURES \
938
- .abox_mask = GENMASK(1, 0), \
938
+ .display. abox_mask = GENMASK(1, 0), \
939
939
.color = { .degamma_lut_size = 128, .gamma_lut_size = 1024, \
940
940
.degamma_lut_tests = DRM_COLOR_LUT_NON_DECREASING | \
941
941
DRM_COLOR_LUT_EQUAL_CHANNELS, \
@@ -955,7 +955,7 @@ static const struct intel_device_info adl_s_info = {
955
955
.display.has_ipc = 1, \
956
956
.display.has_psr = 1, \
957
957
.display.ver = 13, \
958
- .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C) | BIT(PIPE_D), \
958
+ .display. pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C) | BIT(PIPE_D), \
959
959
.pipe_offsets = { \
960
960
[TRANSCODER_A] = PIPE_A_OFFSET, \
961
961
[TRANSCODER_B] = PIPE_B_OFFSET, \
@@ -978,7 +978,7 @@ static const struct intel_device_info adl_p_info = {
978
978
GEN12_FEATURES ,
979
979
XE_LPD_FEATURES ,
980
980
PLATFORM (INTEL_ALDERLAKE_P ),
981
- .cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ) |
981
+ .display . cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ) |
982
982
BIT (TRANSCODER_C ) | BIT (TRANSCODER_D ) |
983
983
BIT (TRANSCODER_DSI_0 ) | BIT (TRANSCODER_DSI_1 ),
984
984
.display .has_cdclk_crawl = 1 ,
@@ -1027,7 +1027,6 @@ static const struct intel_device_info xehpsdv_info = {
1027
1027
DGFX_FEATURES ,
1028
1028
PLATFORM (INTEL_XEHPSDV ),
1029
1029
.display = { },
1030
- .pipe_mask = 0 ,
1031
1030
.platform_engine_mask =
1032
1031
BIT (RCS0 ) | BIT (BCS0 ) |
1033
1032
BIT (VECS0 ) | BIT (VECS1 ) | BIT (VECS2 ) | BIT (VECS3 ) |
@@ -1050,7 +1049,7 @@ static const struct intel_device_info dg2_info = {
1050
1049
BIT (VECS0 ) | BIT (VECS1 ) |
1051
1050
BIT (VCS0 ) | BIT (VCS2 ),
1052
1051
.require_force_probe = 1 ,
1053
- .cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ) |
1052
+ .display . cpu_transcoder_mask = BIT (TRANSCODER_A ) | BIT (TRANSCODER_B ) |
1054
1053
BIT (TRANSCODER_C ) | BIT (TRANSCODER_D ),
1055
1054
};
1056
1055
0 commit comments