drm/i915: Split GAM and MSLICE steering
Subsystems (2)
PATCH 1/1 drm/i915: Split GAM and MSLICE steering
Although the bspec lists several MMIO ranges as "MSLICE," it turns out that a subset of these are of a "GAM" subclass that has unique rules and doesn't followed regular mslice steering behavior.
* Xe_HP SDV: GAM ranges must always be steered to 0,0. These registers share the regular steering control register (0xFDC) with other steering types
* DG2: GAM ranges must always be steered to 1,0. GAM registers have a dedicated steering control register (0xFE0) so we can set the value once at startup and rely on implicit steering. Technically the hardware default should already be set to 1,0 properly, but it never hurts to ensure that in the driver.
Bspec: 66534
--- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 24 +++++++++++++++++++-- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/gt/intel_workarounds.c | 10 +++++++++ 4 files changed, 34 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt_mcr.c +22 -2
@@ -40,6 +40,7 @@ static const char * const intel_steering_types[] = {"L3BANK" ,"MSLICE" ,"LNCF" , +"GAM" , "INSTANCE 0", };
@@ -48,14 +49,23 @@ static const struct intel_mmio_range icl_l3bank_steering_table[] = { {}, }; +/* +* Although the bspec lists more "MSLICE" ranges than shown here, some of those +* are of a "GAM" subclass that has special rules. Thus we use a separate +* GAM table farther down for those. +*/ static const struct intel_mmio_range xehpsdv_mslice_steering_table[] = { - {0x004000 ,0x004AFF }, - {0x00C800 ,0x00CFFF }, {0x00DD00 ,0x00DDFF }, {0x00E900 ,0x00FFFF },/* 0xEA00 - OxEFFF is unused */ {}, }; +static const struct intel_mmio_range xehpsdv_gam_steering_table[] = { + {0x004000 ,0x004AFF }, + {0x00C800 ,0x00CFFF }, + {}, +}; +static const struct intel_mmio_range xehpsdv_lncf_steering_table[] = { {0x00B000 ,0x00B0FF }, {0x00D800 ,0x00D8FF },
@@ -114,9 +124,15 @@ void intel_gt_mcr_init(struct intel_gt *gt) }else if (IS_DG2 (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = dg2_lncf_steering_table; +/* +* No need to hook up the GAM table since it has a dedicated +* steering control register on DG2 and can use implicit +* steering. +*/ }else if (IS_XEHPSDV (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = xehpsdv_lncf_steering_table; + gt->steering_table[GAM ] = xehpsdv_gam_steering_table; }else if (GRAPHICS_VER (i915) >=11 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) { gt->steering_table[L3BANK ] = icl_l3bank_steering_table;
@@ -351,6 +367,10 @@ static void get_nonterminated_steering(struct intel_gt *gt, *group =__ffs (gt->info.mslice_mask) <<1 ; *instance =0 ;/* unused */ break ; +case GAM : + *group =IS_DG2 (gt->i915) ?1 :0 ; + *instance =0 ; +break ;case INSTANCE0 :/* * There are a lot of MCR types for which instance (0, 0)
drivers/gpu/drm/i915/gt/intel_gt_regs.h +1 -0
@@ -42,6 +42,7 @@#define MCFG_MCR_SELECTOR _MMIO(0xfd0)#define SF_MCR_SELECTOR _MMIO(0xfd8)#define GEN8_MCR_SELECTOR _MMIO(0xfdc) +#define GAM_MCR_SELECTOR _MMIO(0xfe0)#define GEN8_MCR_SLICE (slice) (((slice) & 3) << 26)#define GEN8_MCR_SLICE_MASK GEN8_MCR_SLICE(3)#define GEN8_MCR_SUBSLICE (subslice) (((subslice) & 3) << 24)
drivers/gpu/drm/i915/gt/intel_gt_types.h +1 -0
@@ -59,6 +59,7 @@ enum intel_steering_type {L3BANK ,MSLICE ,LNCF , + GAM,/* * On some platforms there are multiple types of MCR registers that
drivers/gpu/drm/i915/gt/intel_workarounds.c +10 -0
@@ -1181,6 +1181,9 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal) gt->steering_table[MSLICE ] =NULL ; } +if (IS_XEHPSDV (gt->i915) && slice_mask &BIT (0 )) + gt->steering_table[GAM ] =NULL ; + slice =__ffs (slice_mask); subslice =intel_sseu_find_first_xehp_dss (sseu,GEN_DSS_PER_GSLICE , slice) %GEN_DSS_PER_GSLICE ;
@@ -1198,6 +1201,13 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal)*/ __set_mcr_steering (wal,MCFG_MCR_SELECTOR ,0 ,2 );__set_mcr_steering (wal,SF_MCR_SELECTOR ,0 ,2 ); + +/* +* On DG2, GAM registers have a dedicated steering control register +* and must always be programmed to a hardcoded groupid of "1." +*/ +if (IS_DG2 (gt->i915)) +__set_mcr_steering (wal,GAM_MCR_SELECTOR ,1 ,0 ); } static void
Signature · 1 line
2.37.3
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Split GAM and MSLICE steering
== Series Details ==
== Series Details ==
Series: drm/i915: Split GAM and MSLICE steering
URL : https://patchwork.freedesktop.org/series/108627/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Split GAM and MSLICE steering
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: drm/i915: Split GAM and MSLICE steering
URL : https://patchwork.freedesktop.org/series/108627/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12144 -> Patchwork_108627v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/index.html
Participating hosts (35 -> 38)
------------------------------
Additional (7): fi-bxt-dsi bat-dg2-8 bat-adlm-1 bat-dg2-9 bat-adlp-6 fi-hsw-4770 bat-adln-1
Missing (4): fi-ctg-p8600 fi-icl-u2 fi-hsw-4200u fi-tgl-u2
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_108627v1:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@gem_exec_suspend@basic-s0@smem:
- {fi-tgl-mst}: [DMESG-WARN][1] ([i915#1982] / [i915#5122]) -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/fi-tgl-mst/igt@gem_exec_suspend@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-tgl-mst/igt@gem_exec_suspend@[email protected]
* igt@i915_pm_rpm@module-reload:
- {fi-tgl-mst}: [PASS][3] -> [DMESG-WARN][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/fi-tgl-mst/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-tgl-mst/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_12144 and Patchwork_108627v1:
### New IGT tests (1) ###
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-dp-7:
- Statuses : 1 pass(s)
- Exec time: [3.50] s
Known issues
------------
Here are the changes found in Patchwork_108627v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- fi-bxt-dsi: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#2190])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-bxt-dsi/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-bxt-dsi: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#4613]) +3 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-bxt-dsi/igt@[email protected]
* igt@gem_tiled_blits@basic:
- fi-bxt-dsi: NOTRUN -> [SKIP][7] ([fdo#109271]) +12 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-bxt-dsi/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- fi-hsw-4770: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#3012])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-hsw-4770/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: NOTRUN -> [INCOMPLETE][9] ([i915#4785])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-hsw-4770/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- fi-pnv-d510: [PASS][10] -> [DMESG-FAIL][11] ([i915#4528])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/fi-pnv-d510/igt@i915_selftest@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-pnv-d510/igt@i915_selftest@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- fi-hsw-4770: NOTRUN -> [SKIP][12] ([fdo#109271]) +9 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-hsw-4770/igt@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-ivb-3770: NOTRUN -> [SKIP][13] ([fdo#109271] / [fdo#111827])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-ivb-3770/igt@[email protected]
- fi-bdw-5557u: NOTRUN -> [SKIP][14] ([fdo#109271] / [fdo#111827])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-bdw-5557u/igt@[email protected]
- fi-snb-2600: NOTRUN -> [SKIP][15] ([fdo#109271] / [fdo#111827])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-snb-2600/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-hsw-4770: NOTRUN -> [SKIP][16] ([fdo#109271] / [fdo#111827]) +7 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-hsw-4770/igt@[email protected]
* igt@kms_chamelium@hdmi-edid-read:
- fi-bxt-dsi: NOTRUN -> [SKIP][17] ([fdo#109271] / [fdo#111827]) +8 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-bxt-dsi/igt@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- fi-hsw-4770: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#1072]) +3 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-hsw-4770/igt@kms_psr@sprite_plane_onoff.html
* igt@runner@aborted:
- fi-hsw-4770: NOTRUN -> [FAIL][19] ([fdo#109271] / [i915#4312] / [i915#5594] / [i915#6246])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-hsw-4770/igt@[email protected]
#### Possible fixes ####
* igt@fbdev@read:
- {fi-tgl-mst}: [SKIP][20] ([i915#2582]) -> [PASS][21] +1 similar issue
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/fi-tgl-mst/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-tgl-mst/igt@[email protected]
* igt@i915_module_load@reload:
- {fi-tgl-mst}: [WARN][22] ([i915#6596]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/fi-tgl-mst/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-tgl-mst/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-ivb-3770: [INCOMPLETE][24] ([i915#3303] / [i915#5370]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/fi-ivb-3770/igt@i915_selftest@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-ivb-3770/igt@i915_selftest@[email protected]
- fi-snb-2600: [INCOMPLETE][26] ([i915#3921]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/fi-snb-2600/igt@i915_selftest@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/fi-snb-2600/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3595]: https://gitlab.freedesktop.org/drm/intel/issues/3595
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5370]: https://gitlab.freedesktop.org/drm/intel/issues/5370
[i915#5594]: https://gitlab.freedesktop.org/drm/intel/issues/5594
[i915#6246]: https://gitlab.freedesktop.org/drm/intel/issues/6246
[i915#6596]: https://gitlab.freedesktop.org/drm/intel/issues/6596
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6641]: https://gitlab.freedesktop.org/drm/intel/issues/6641
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
Build changes
-------------
* Linux: CI_DRM_12144 -> Patchwork_108627v1
CI-20190529: 20190529
CI_DRM_12144: 55937d402fd885fe101cdd028dcc48df6d7f6b35 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6656: 24100c4e181c50e3678aeca9c641b8a43555ad73 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108627v1: 55937d402fd885fe101cdd028dcc48df6d7f6b35 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
f43543633175 drm/i915: Split GAM and MSLICE steering
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Split GAM and MSLICE steering
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: drm/i915: Split GAM and MSLICE steering
URL : https://patchwork.freedesktop.org/series/108627/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12144_full -> Patchwork_108627v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in Patchwork_108627v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@unwedge-stress:
- shard-iclb: [PASS][1] -> [TIMEOUT][2] ([i915#3070])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-iclb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb5/igt@[email protected]
* igt@gem_exec_balancer@parallel-keep-in-fence:
- shard-iclb: [PASS][3] -> [SKIP][4] ([i915#4525]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-iclb1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb3/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][5] -> [FAIL][6] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-tglb1/igt@gem_exec_fair@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][7] ([i915#2842])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vecs0:
- shard-glk: [PASS][8] -> [FAIL][9] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk2/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-apl: [PASS][10] -> [FAIL][11] ([i915#2842])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl4/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl8/igt@gem_exec_fair@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][12] -> [SKIP][13] ([i915#2190])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-tglb3/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-tglb7/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- shard-apl: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#4613])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@[email protected]
* igt@gem_pxp@reject-modify-context-protection-off-3:
- shard-apl: NOTRUN -> [SKIP][15] ([fdo#109271]) +44 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@[email protected]
* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#3886]) +2 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_chamelium@dp-hpd-with-enabled-mode:
- shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271] / [fdo#111827])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@[email protected]
* igt@kms_flip@2x-flip-vs-absolute-wf_vblank@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][18] -> [FAIL][19] ([i915#2122])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk9/igt@kms_flip@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk9/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][20] ([i915#2587] / [i915#2672]) +3 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb7/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][21] ([i915#2672]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-default-mode.html
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-apl: NOTRUN -> [SKIP][22] ([fdo#109271] / [i915#658])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@[email protected]
* igt@nouveau_crc@pipe-b-ctx-flip-detection:
- shard-glk: NOTRUN -> [SKIP][23] ([fdo#109271]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk6/igt@[email protected]
* igt@perf_pmu@rc6-suspend:
- shard-apl: [PASS][24] -> [DMESG-WARN][25] ([i915#180])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl3/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl1/igt@[email protected]
#### Possible fixes ####
* igt@gem_busy@close-race:
- shard-glk: [TIMEOUT][26] ([i915#6016]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk2/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk6/igt@[email protected]
* igt@gem_exec_balancer@parallel:
- shard-iclb: [SKIP][28] ([i915#4525]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-iclb5/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb4/igt@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [FAIL][30] ([i915#2842]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk3/igt@gem_exec_fair@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_schedule@wide@rcs0:
- {shard-tglu}: [INCOMPLETE][32] ([i915#6772]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-tglu-1/igt@gem_exec_schedule@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-tglu-4/igt@gem_exec_schedule@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-iclb: [SKIP][34] ([i915#4281]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-iclb3/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb7/igt@[email protected]
* igt@i915_pm_rps@engine-order:
- shard-apl: [FAIL][36] ([i915#6537]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl4/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl8/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@b-dp1:
- shard-apl: [DMESG-WARN][38] ([i915#180]) -> [PASS][39] +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl8/igt@kms_flip@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@kms_flip@[email protected]
* igt@kms_plane_lowres@tiling-y@pipe-c-hdmi-a-2:
- shard-glk: [FAIL][40] ([i915#1036] / [i915#1888]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk3/igt@kms_plane_lowres@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk5/igt@kms_plane_lowres@[email protected]
* igt@perf@polling-parameterized:
- shard-apl: [FAIL][42] ([i915#5639]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl6/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl3/igt@[email protected]
#### Warnings ####
* igt@gem_exec_fair@basic-pace@bcs0:
- shard-tglb: [FAIL][44] ([i915#2876]) -> [FAIL][45] ([i915#2842])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-tglb6/igt@gem_exec_fair@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-tglb3/igt@gem_exec_fair@[email protected]
* igt@runner@aborted:
- shard-apl: ([FAIL][46], [FAIL][47], [FAIL][48], [FAIL][49]) ([i915#180] / [i915#3002] / [i915#4312] / [i915#5257] / [i915#6599]) -> ([FAIL][50], [FAIL][51]) ([i915#3002] / [i915#4312] / [i915#5257] / [i915#6599])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl6/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl1/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl3/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl8/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl2/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl1/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1036]: https://gitlab.freedesktop.org/drm/intel/issues/1036
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2530]: https://gitlab.freedesktop.org/drm/intel/issues/2530
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2876]: https://gitlab.freedesktop.org/drm/intel/issues/2876
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3070]: https://gitlab.freedesktop.org/drm/intel/issues/3070
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5639]: https://gitlab.freedesktop.org/drm/intel/issues/5639
[i915#6016]: https://gitlab.freedesktop.org/drm/intel/issues/6016
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6474]: https://gitlab.freedesktop.org/drm/intel/issues/6474
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6537]: https://gitlab.freedesktop.org/drm/intel/issues/6537
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6599]: https://gitlab.freedesktop.org/drm/intel/issues/6599
[i915#6772]: https://gitlab.freedesktop.org/drm/intel/issues/6772
Build changes
-------------
* Linux: CI_DRM_12144 -> Patchwork_108627v1
CI-20190529: 20190529
CI_DRM_12144: 55937d402fd885fe101cdd028dcc48df6d7f6b35 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6656: 24100c4e181c50e3678aeca9c641b8a43555ad73 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108627v1: 55937d402fd885fe101cdd028dcc48df6d7f6b35 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/index.html
Matt Roper
AppliedRe: [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Split GAM and MSLICE steering
Quoted 11 lines · Patchwork
== Series Details ==
Series: drm/i915: Split GAM and MSLICE steering
URL : https://patchwork.freedesktop.org/series/108627/
State : success== Summary ==
CI Bug Log - changes from
CI_DRM_12144_full->Patchwork_108627v1_full
====================================================
Quoted 7 lines
Summary
-------**SUCCESS**
No regressions found.
Applied to drm-intel-gt-next. Thanks Prathap for the review.
Matt
Quoted 251 lines
Participating hosts (11 -> 11)
------------------------------No changes in participating hosts
Known issues
------------Here are the changes found in
Patchwork_108627v1_fullthat come from known issues:### IGT changes ###
#### Issues hit ####
* igt@gem_eio@unwedge-stress:
- shard-iclb: [PASS][1] -> [TIMEOUT][2] ([i915#3070])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-iclb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb5/igt@[email protected]* igt@gem_exec_balancer@parallel-keep-in-fence:
- shard-iclb: [PASS][3] -> [SKIP][4] ([i915#4525]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-iclb1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb3/igt@[email protected]* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][5] -> [FAIL][6] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-tglb1/igt@gem_exec_fair@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-tglb7/igt@gem_exec_fair@[email protected]* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][7] ([i915#2842])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb1/igt@gem_exec_fair@[email protected]* igt@gem_exec_fair@basic-none@vecs0:
- shard-glk: [PASS][8] -> [FAIL][9] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk2/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk3/igt@gem_exec_fair@[email protected]* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-apl: [PASS][10] -> [FAIL][11] ([i915#2842])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl4/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl8/igt@gem_exec_fair@[email protected]* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][12] -> [SKIP][13] ([i915#2190])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-tglb3/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-tglb7/igt@[email protected]* igt@gem_lmem_swapping@verify-random:
- shard-apl: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#4613])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@[email protected]* igt@gem_pxp@reject-modify-context-protection-off-3:
- shard-apl: NOTRUN -> [SKIP][15] ([fdo#109271]) +44 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@[email protected]* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#3886]) +2 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html* igt@kms_chamelium@dp-hpd-with-enabled-mode:
- shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271] / [fdo#111827])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@[email protected]* igt@kms_flip@2x-flip-vs-absolute-wf_vblank@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][18] -> [FAIL][19] ([i915#2122])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk9/igt@kms_flip@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk9/igt@kms_flip@[email protected]* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][20] ([i915#2587] / [i915#2672]) +3 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb7/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][21] ([i915#2672]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-default-mode.html* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-apl: NOTRUN -> [SKIP][22] ([fdo#109271] / [i915#658])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@[email protected]* igt@nouveau_crc@pipe-b-ctx-flip-detection:
- shard-glk: NOTRUN -> [SKIP][23] ([fdo#109271]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk6/igt@[email protected]* igt@perf_pmu@rc6-suspend:
- shard-apl: [PASS][24] -> [DMESG-WARN][25] ([i915#180])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl3/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl1/igt@[email protected]#### Possible fixes ####
* igt@gem_busy@close-race:
- shard-glk: [TIMEOUT][26] ([i915#6016]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk2/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk6/igt@[email protected]* igt@gem_exec_balancer@parallel:
- shard-iclb: [SKIP][28] ([i915#4525]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-iclb5/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb4/igt@[email protected]* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [FAIL][30] ([i915#2842]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk3/igt@gem_exec_fair@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk5/igt@gem_exec_fair@[email protected]* igt@gem_exec_schedule@wide@rcs0:
- {shard-tglu}: [INCOMPLETE][32] ([i915#6772]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-tglu-1/igt@gem_exec_schedule@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-tglu-4/igt@gem_exec_schedule@[email protected]* igt@i915_pm_dc@dc9-dpms:
- shard-iclb: [SKIP][34] ([i915#4281]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-iclb3/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-iclb7/igt@[email protected]* igt@i915_pm_rps@engine-order:
- shard-apl: [FAIL][36] ([i915#6537]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl4/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl8/igt@[email protected]* igt@kms_flip@flip-vs-suspend-interruptible@b-dp1:
- shard-apl: [DMESG-WARN][38] ([i915#180]) -> [PASS][39] +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl8/igt@kms_flip@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl7/igt@kms_flip@[email protected]* igt@kms_plane_lowres@tiling-y@pipe-c-hdmi-a-2:
- shard-glk: [FAIL][40] ([i915#1036] / [i915#1888]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-glk3/igt@kms_plane_lowres@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-glk5/igt@kms_plane_lowres@[email protected]* igt@perf@polling-parameterized:
- shard-apl: [FAIL][42] ([i915#5639]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl6/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl3/igt@[email protected]#### Warnings ####
* igt@gem_exec_fair@basic-pace@bcs0:
- shard-tglb: [FAIL][44] ([i915#2876]) -> [FAIL][45] ([i915#2842])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-tglb6/igt@gem_exec_fair@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-tglb3/igt@gem_exec_fair@[email protected]* igt@runner@aborted:
- shard-apl: ([FAIL][46], [FAIL][47], [FAIL][48], [FAIL][49]) ([i915#180] / [i915#3002] / [i915#4312] / [i915#5257] / [i915#6599]) -> ([FAIL][50], [FAIL][51]) ([i915#3002] / [i915#4312] / [i915#5257] / [i915#6599])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl6/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl1/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl3/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12144/shard-apl8/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl2/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/shard-apl1/igt@[email protected]{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1036]: https://gitlab.freedesktop.org/drm/intel/issues/1036
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2530]: https://gitlab.freedesktop.org/drm/intel/issues/2530
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2876]: https://gitlab.freedesktop.org/drm/intel/issues/2876
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3070]: https://gitlab.freedesktop.org/drm/intel/issues/3070
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5639]: https://gitlab.freedesktop.org/drm/intel/issues/5639
[i915#6016]: https://gitlab.freedesktop.org/drm/intel/issues/6016
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6474]: https://gitlab.freedesktop.org/drm/intel/issues/6474
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6537]: https://gitlab.freedesktop.org/drm/intel/issues/6537
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6599]: https://gitlab.freedesktop.org/drm/intel/issues/6599
[i915#6772]: https://gitlab.freedesktop.org/drm/intel/issues/6772Build changes
-------------* Linux:
CI_DRM_12144->Patchwork_108627v1CI-20190529: 20190529
CI_DRM_12144:55937d402fd885fe101cdd028dcc48df6d7f6b35@git://anongit.freedesktop.org/gfx-ci/linux
IGT_6656:24100c4e181c50e3678aeca9c641b8a43555ad73@ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108627v1:55937d402fd885fe101cdd028dcc48df6d7f6b35@git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509:fdc5a4ca11124ab8413c7988896eec4c97336694@git://anongit.freedesktop.org/piglit== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108627v1/index.html
Signature · 4 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation
Quoted 8 lines · Matt Roper
Although the bspec lists several MMIO ranges as "MSLICE," it turns out that a subset of these are of a "GAM" subclass that has unique rules and doesn't followed regular mslice steering behavior.
*
Xe_HPSDV: GAM ranges must always be steered to 0,0. These registers share the regular steering control register (0xFDC) with other steering types
Quoted 5 lines
* DG2: GAM ranges must always be steered to 1,0. GAM registers have a dedicated steering control register (
0xFE0) so we can set the value once at startup and rely on implicit steering. Technically the hardware default should already be set to 1,0 properly, but it never hurts to ensure that in the driver.
Do you have any data on whether the "technically should" holds in practice? What would be the consequences of some platform/machine surprising us here?
Regards,
Tvrtko
Quoted 127 lines
Bspec: 66534
Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 24 +++++++++++++++++++-- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/gt/intel_workarounds.c | 10 +++++++++ 4 files changed, 34 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/intel_gt_mcr.c +22
-2@@ -40,6 +40,7 @@ static const char * const intel_steering_types[] = {"L3BANK" ,"MSLICE" ,"LNCF" , +"GAM" , "INSTANCE 0", };@@ -48,14 +49,23 @@ static const struct intel_mmio_range icl_l3bank_steering_table[] = { {}, }; +/* +* Although the bspec lists more "MSLICE" ranges than shown here, some of those +* are of a "GAM" subclass that has special rules. Thus we use a separate +* GAM table farther down for those. +*/ static const struct intel_mmio_range xehpsdv_mslice_steering_table[] = { - {0x004000 ,0x004AFF }, - {0x00C800 ,0x00CFFF }, {0x00DD00 ,0x00DDFF }, {0x00E900 ,0x00FFFF },/* 0xEA00 - OxEFFF is unused */ {}, }; +static const struct intel_mmio_range xehpsdv_gam_steering_table[] = { + {0x004000 ,0x004AFF }, + {0x00C800 ,0x00CFFF }, + {}, +}; +static const struct intel_mmio_range xehpsdv_lncf_steering_table[] = { {0x00B000 ,0x00B0FF }, {0x00D800 ,0x00D8FF },@@ -114,9 +124,15 @@ void intel_gt_mcr_init(struct intel_gt *gt) }else if (IS_DG2 (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = dg2_lncf_steering_table; +/* +* No need to hook up the GAM table since it has a dedicated +* steering control register on DG2 and can use implicit +* steering. +*/ }else if (IS_XEHPSDV (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = xehpsdv_lncf_steering_table; + gt->steering_table[GAM ] = xehpsdv_gam_steering_table; }else if (GRAPHICS_VER (i915) >=11 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) { gt->steering_table[L3BANK ] = icl_l3bank_steering_table;@@ -351,6 +367,10 @@ static void get_nonterminated_steering(struct intel_gt *gt, *group =__ffs (gt->info.mslice_mask) <<1 ; *instance =0 ;/* unused */ break ; +case GAM : + *group =IS_DG2 (gt->i915) ?1 :0 ; + *instance =0 ; +break ;case INSTANCE0 :/* * There are a lot of MCR types for which instance (0, 0) drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0@@ -42,6 +42,7 @@#define MCFG_MCR_SELECTOR _MMIO(0xfd0)#define SF_MCR_SELECTOR _MMIO(0xfd8)#define GEN8_MCR_SELECTOR _MMIO(0xfdc) +#define GAM_MCR_SELECTOR _MMIO(0xfe0)#define GEN8_MCR_SLICE (slice) (((slice) & 3) << 26)#define GEN8_MCR_SLICE_MASK GEN8_MCR_SLICE(3)#define GEN8_MCR_SUBSLICE (subslice) (((subslice) & 3) << 24)drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -59,6 +59,7 @@ enum intel_steering_type {L3BANK ,MSLICE ,LNCF , + GAM,/* * On some platforms there are multiple types of MCR registers that drivers/gpu/drm/i915/gt/intel_workarounds.c +10
-0@@ -1181,6 +1181,9 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal) gt->steering_table[MSLICE ] =NULL ; } +if (IS_XEHPSDV (gt->i915) && slice_mask &BIT (0 )) + gt->steering_table[GAM ] =NULL ; + slice =__ffs (slice_mask); subslice =intel_sseu_find_first_xehp_dss (sseu,GEN_DSS_PER_GSLICE , slice) %GEN_DSS_PER_GSLICE ;@@ -1198,6 +1201,13 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal)*/ __set_mcr_steering (wal,MCFG_MCR_SELECTOR ,0 ,2 );__set_mcr_steering (wal,SF_MCR_SELECTOR ,0 ,2 ); + +/* +* On DG2, GAM registers have a dedicated steering control register +* and must always be programmed to a hardcoded groupid of "1." +*/ +if (IS_DG2 (gt->i915)) +__set_mcr_steering (wal,GAM_MCR_SELECTOR ,1 ,0 ); } static void
Quoted 10 lines · Tvrtko Ursulin
Quoted 8 lines · Matt Roper
Although the bspec lists several MMIO ranges as "MSLICE," it turns out that a subset of these are of a "GAM" subclass that has unique rules and doesn't followed regular mslice steering behavior.
*
Xe_HPSDV: GAM ranges must always be steered to 0,0. These registers share the regular steering control register (0xFDC) with other steering types
Quoted 8 lines
Quoted 5 lines
* DG2: GAM ranges must always be steered to 1,0. GAM registers have a dedicated steering control register (
0xFE0) so we can set the value once at startup and rely on implicit steering. Technically the hardware default should already be set to 1,0 properly, but it never hurts to ensure that in the driver.Do you have any data on whether the "technically should" holds in practice? What would be the consequences of some platform/machine surprising us here?
The bspec indicates the hardware default value is already the necessary 1,0 value; I'm mostly paranoid about some kind of boot firmware wiping it to 0,0 by accident. I don't have any evidence that has ever actually happened, but explicitly re-programming it to 1,0 in the patch here is a defensive measure just to be safe.
If we didn't have this patch _and_ some firmware screwed up the GAM steering target, then presumably we might read back garbage or 0 from GAM registers in places where we should have received a real value.
Matt
Quoted 126 lines
Regards,
Tvrtko
Quoted 121 lines
Bspec: 66534
Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 24 +++++++++++++++++++-- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/gt/intel_workarounds.c | 10 +++++++++ 4 files changed, 34 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/intel_gt_mcr.c +22
-2@@ -40,6 +40,7 @@ static const char * const intel_steering_types[] = {"L3BANK" ,"MSLICE" ,"LNCF" , +"GAM" , "INSTANCE 0", };@@ -48,14 +49,23 @@ static const struct intel_mmio_range icl_l3bank_steering_table[] = { {}, }; +/* +* Although the bspec lists more "MSLICE" ranges than shown here, some of those +* are of a "GAM" subclass that has special rules. Thus we use a separate +* GAM table farther down for those. +*/ static const struct intel_mmio_range xehpsdv_mslice_steering_table[] = { - {0x004000 ,0x004AFF }, - {0x00C800 ,0x00CFFF }, {0x00DD00 ,0x00DDFF }, {0x00E900 ,0x00FFFF },/* 0xEA00 - OxEFFF is unused */ {}, }; +static const struct intel_mmio_range xehpsdv_gam_steering_table[] = { + {0x004000 ,0x004AFF }, + {0x00C800 ,0x00CFFF }, + {}, +}; +static const struct intel_mmio_range xehpsdv_lncf_steering_table[] = { {0x00B000 ,0x00B0FF }, {0x00D800 ,0x00D8FF },@@ -114,9 +124,15 @@ void intel_gt_mcr_init(struct intel_gt *gt) }else if (IS_DG2 (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = dg2_lncf_steering_table; +/* +* No need to hook up the GAM table since it has a dedicated +* steering control register on DG2 and can use implicit +* steering. +*/ }else if (IS_XEHPSDV (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = xehpsdv_lncf_steering_table; + gt->steering_table[GAM ] = xehpsdv_gam_steering_table; }else if (GRAPHICS_VER (i915) >=11 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) { gt->steering_table[L3BANK ] = icl_l3bank_steering_table;@@ -351,6 +367,10 @@ static void get_nonterminated_steering(struct intel_gt *gt, *group =__ffs (gt->info.mslice_mask) <<1 ; *instance =0 ;/* unused */ break ; +case GAM : + *group =IS_DG2 (gt->i915) ?1 :0 ; + *instance =0 ; +break ;case INSTANCE0 :/* * There are a lot of MCR types for which instance (0, 0) drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0@@ -42,6 +42,7 @@#define MCFG_MCR_SELECTOR _MMIO(0xfd0)#define SF_MCR_SELECTOR _MMIO(0xfd8)#define GEN8_MCR_SELECTOR _MMIO(0xfdc) +#define GAM_MCR_SELECTOR _MMIO(0xfe0)#define GEN8_MCR_SLICE (slice) (((slice) & 3) << 26)#define GEN8_MCR_SLICE_MASK GEN8_MCR_SLICE(3)#define GEN8_MCR_SUBSLICE (subslice) (((subslice) & 3) << 24)drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -59,6 +59,7 @@ enum intel_steering_type {L3BANK ,MSLICE ,LNCF , + GAM,/* * On some platforms there are multiple types of MCR registers that drivers/gpu/drm/i915/gt/intel_workarounds.c +10
-0@@ -1181,6 +1181,9 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal) gt->steering_table[MSLICE ] =NULL ; } +if (IS_XEHPSDV (gt->i915) && slice_mask &BIT (0 )) + gt->steering_table[GAM ] =NULL ; + slice =__ffs (slice_mask); subslice =intel_sseu_find_first_xehp_dss (sseu,GEN_DSS_PER_GSLICE , slice) %GEN_DSS_PER_GSLICE ;@@ -1198,6 +1201,13 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal)*/ __set_mcr_steering (wal,MCFG_MCR_SELECTOR ,0 ,2 );__set_mcr_steering (wal,SF_MCR_SELECTOR ,0 ,2 ); + +/* +* On DG2, GAM registers have a dedicated steering control register +* and must always be programmed to a hardcoded groupid of "1." +*/ +if (IS_DG2 (gt->i915)) +__set_mcr_steering (wal,GAM_MCR_SELECTOR ,1 ,0 ); } static void
Signature · 4 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation
Quoted 26 lines · Matt Roper
Quoted 10 lines · Tvrtko Ursulin
Quoted 8 lines · Matt Roper
Although the bspec lists several MMIO ranges as "MSLICE," it turns out that a subset of these are of a "GAM" subclass that has unique rules and doesn't followed regular mslice steering behavior.
*
Xe_HPSDV: GAM ranges must always be steered to 0,0. These registers share the regular steering control register (0xFDC) with other steering typesQuoted 8 lines
Quoted 5 lines
* DG2: GAM ranges must always be steered to 1,0. GAM registers have a dedicated steering control register (
0xFE0) so we can set the value once at startup and rely on implicit steering. Technically the hardware default should already be set to 1,0 properly, but it never hurts to ensure that in the driver.Do you have any data on whether the "technically should" holds in practice? What would be the consequences of some platform/machine surprising us here?
The bspec indicates the hardware default value is already the necessary 1,0 value; I'm mostly paranoid about some kind of boot firmware wiping it to 0,0 by accident. I don't have any evidence that has ever actually happened, but explicitly re-programming it to 1,0 in the patch here is a defensive measure just to be safe.
Quoted 3 lines
If we didn't have this patch _and_ some firmware screwed up the GAM steering target, then presumably we might read back garbage or 0 from GAM registers in places where we should have received a real value.
Will firmware ever touch the steering target registers. As i was going through the respective hsd. The software driver impact is marked as none so wondering if this change is really required ?
Thanks,
Prathap
Quoted 136 lines
Matt
Quoted 126 lines
Regards,
Tvrtko
Quoted 121 lines
Bspec: 66534
Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 24 +++++++++++++++++++-- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/gt/intel_workarounds.c | 10 +++++++++ 4 files changed, 34 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/intel_gt_mcr.c +22
-2@@ -40,6 +40,7 @@ static const char * const intel_steering_types[] = {"L3BANK" ,"MSLICE" ,"LNCF" , +"GAM" , "INSTANCE 0", };@@ -48,14 +49,23 @@ static const struct intel_mmio_range icl_l3bank_steering_table[] = { {}, }; +/* +* Although the bspec lists more "MSLICE" ranges than shown here, some of those +* are of a "GAM" subclass that has special rules. Thus we use a separate +* GAM table farther down for those. +*/ static const struct intel_mmio_range xehpsdv_mslice_steering_table[] = { - {0x004000 ,0x004AFF }, - {0x00C800 ,0x00CFFF }, {0x00DD00 ,0x00DDFF }, {0x00E900 ,0x00FFFF },/* 0xEA00 - OxEFFF is unused */ {}, }; +static const struct intel_mmio_range xehpsdv_gam_steering_table[] = { + {0x004000 ,0x004AFF }, + {0x00C800 ,0x00CFFF }, + {}, +}; +static const struct intel_mmio_range xehpsdv_lncf_steering_table[] = { {0x00B000 ,0x00B0FF }, {0x00D800 ,0x00D8FF },@@ -114,9 +124,15 @@ void intel_gt_mcr_init(struct intel_gt *gt) }else if (IS_DG2 (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = dg2_lncf_steering_table; +/* +* No need to hook up the GAM table since it has a dedicated +* steering control register on DG2 and can use implicit +* steering. +*/ }else if (IS_XEHPSDV (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = xehpsdv_lncf_steering_table; + gt->steering_table[GAM ] = xehpsdv_gam_steering_table; }else if (GRAPHICS_VER (i915) >=11 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) { gt->steering_table[L3BANK ] = icl_l3bank_steering_table;@@ -351,6 +367,10 @@ static void get_nonterminated_steering(struct intel_gt *gt, *group =__ffs (gt->info.mslice_mask) <<1 ; *instance =0 ;/* unused */ break ; +case GAM : + *group =IS_DG2 (gt->i915) ?1 :0 ; + *instance =0 ; +break ;case INSTANCE0 :/* * There are a lot of MCR types for which instance (0, 0) drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0@@ -42,6 +42,7 @@#define MCFG_MCR_SELECTOR _MMIO(0xfd0)#define SF_MCR_SELECTOR _MMIO(0xfd8)#define GEN8_MCR_SELECTOR _MMIO(0xfdc) +#define GAM_MCR_SELECTOR _MMIO(0xfe0)#define GEN8_MCR_SLICE (slice) (((slice) & 3) << 26)#define GEN8_MCR_SLICE_MASK GEN8_MCR_SLICE(3)#define GEN8_MCR_SUBSLICE (subslice) (((subslice) & 3) << 24)drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -59,6 +59,7 @@ enum intel_steering_type {L3BANK ,MSLICE ,LNCF , + GAM,/* * On some platforms there are multiple types of MCR registers that drivers/gpu/drm/i915/gt/intel_workarounds.c +10
-0@@ -1181,6 +1181,9 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal) gt->steering_table[MSLICE ] =NULL ; } +if (IS_XEHPSDV (gt->i915) && slice_mask &BIT (0 )) + gt->steering_table[GAM ] =NULL ; + slice =__ffs (slice_mask); subslice =intel_sseu_find_first_xehp_dss (sseu,GEN_DSS_PER_GSLICE , slice) %GEN_DSS_PER_GSLICE ;@@ -1198,6 +1201,13 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal)*/ __set_mcr_steering (wal,MCFG_MCR_SELECTOR ,0 ,2 );__set_mcr_steering (wal,SF_MCR_SELECTOR ,0 ,2 ); + +/* +* On DG2, GAM registers have a dedicated steering control register +* and must always be programmed to a hardcoded groupid of "1." +*/ +if (IS_DG2 (gt->i915)) +__set_mcr_steering (wal,GAM_MCR_SELECTOR ,1 ,0 ); } static voidSignature · 4 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation
Quoted 27 lines · Prathap
Quoted 26 lines · Matt Roper
Quoted 10 lines · Tvrtko Ursulin
Quoted 8 lines · Matt Roper
Although the bspec lists several MMIO ranges as "MSLICE," it turns out that a subset of these are of a "GAM" subclass that has unique rules and doesn't followed regular mslice steering behavior.
*
Xe_HPSDV: GAM ranges must always be steered to 0,0. These registers share the regular steering control register (0xFDC) with other steering typesQuoted 8 lines
Quoted 5 lines
* DG2: GAM ranges must always be steered to 1,0. GAM registers have a dedicated steering control register (
0xFE0) so we can set the value once at startup and rely on implicit steering. Technically the hardware default should already be set to 1,0 properly, but it never hurts to ensure that in the driver.Do you have any data on whether the "technically should" holds in practice? What would be the consequences of some platform/machine surprising us here?
The bspec indicates the hardware default value is already the necessary 1,0 value; I'm mostly paranoid about some kind of boot firmware wiping it to 0,0 by accident. I don't have any evidence that has ever actually happened, but explicitly re-programming it to 1,0 in the patch here is a defensive measure just to be safe.
Quoted 6 lines
Quoted 3 lines
If we didn't have this patch _and_ some firmware screwed up the GAM steering target, then presumably we might read back garbage or 0 from GAM registers in places where we should have received a real value.
Will firmware ever touch the steering target registers. As i was going through the respective hsd. The software driver impact is marked as none so wondering if this change is really required ?
The GAM only has a dedicated steering register on DG2; on XEHPSDV it shares 0xFDC with all the other kinds of steering, so it is important to handle this range independently of the MSLICE range and make sure we properly re-steer GAM accesses to the primary instance (and not just any random MSLICE) there.
On DG2, if we assume firmware behaves properly, the dedicated steering register is initialized properly and we don't need to explicitly re-steer. However this patch will ensure that we don't needlessly re-program 0xFDC according to MSLICE rules when accessing a GAM register.
There's also the worry that firmware may try to "sanitize" the registers at startup by programming them to what it thinks are appropriate default values. Given that DG2's primary GAM is unusual (instance 1, instead of instance 0 as on other platforms), this feels like a place where firmware bugs could creep in. They hopefully/probably won't, but ensuring we forcefully initialize 0xFE0 to the proper value just ensures that we don't even have to worry about it.
Finally, splitting the GAM from MSLICE ensures we get more accurate debug messages from the drm_printer in dmesg and debugfs.
Matt
Quoted 139 lines
Thanks,
PrathapQuoted 136 lines
Matt
Quoted 126 lines
Regards,
Tvrtko
Quoted 121 lines
Bspec: 66534
Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 24 +++++++++++++++++++-- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/gt/intel_workarounds.c | 10 +++++++++ 4 files changed, 34 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/intel_gt_mcr.c +22
-2@@ -40,6 +40,7 @@ static const char * const intel_steering_types[] = {"L3BANK" ,"MSLICE" ,"LNCF" , +"GAM" , "INSTANCE 0", };@@ -48,14 +49,23 @@ static const struct intel_mmio_range icl_l3bank_steering_table[] = { {}, }; +/* +* Although the bspec lists more "MSLICE" ranges than shown here, some of those +* are of a "GAM" subclass that has special rules. Thus we use a separate +* GAM table farther down for those. +*/ static const struct intel_mmio_range xehpsdv_mslice_steering_table[] = { - {0x004000 ,0x004AFF }, - {0x00C800 ,0x00CFFF }, {0x00DD00 ,0x00DDFF }, {0x00E900 ,0x00FFFF },/* 0xEA00 - OxEFFF is unused */ {}, }; +static const struct intel_mmio_range xehpsdv_gam_steering_table[] = { + {0x004000 ,0x004AFF }, + {0x00C800 ,0x00CFFF }, + {}, +}; +static const struct intel_mmio_range xehpsdv_lncf_steering_table[] = { {0x00B000 ,0x00B0FF }, {0x00D800 ,0x00D8FF },@@ -114,9 +124,15 @@ void intel_gt_mcr_init(struct intel_gt *gt) }else if (IS_DG2 (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = dg2_lncf_steering_table; +/* +* No need to hook up the GAM table since it has a dedicated +* steering control register on DG2 and can use implicit +* steering. +*/ }else if (IS_XEHPSDV (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = xehpsdv_lncf_steering_table; + gt->steering_table[GAM ] = xehpsdv_gam_steering_table; }else if (GRAPHICS_VER (i915) >=11 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) { gt->steering_table[L3BANK ] = icl_l3bank_steering_table;@@ -351,6 +367,10 @@ static void get_nonterminated_steering(struct intel_gt *gt, *group =__ffs (gt->info.mslice_mask) <<1 ; *instance =0 ;/* unused */ break ; +case GAM : + *group =IS_DG2 (gt->i915) ?1 :0 ; + *instance =0 ; +break ;case INSTANCE0 :/* * There are a lot of MCR types for which instance (0, 0) drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0@@ -42,6 +42,7 @@#define MCFG_MCR_SELECTOR _MMIO(0xfd0)#define SF_MCR_SELECTOR _MMIO(0xfd8)#define GEN8_MCR_SELECTOR _MMIO(0xfdc) +#define GAM_MCR_SELECTOR _MMIO(0xfe0)#define GEN8_MCR_SLICE (slice) (((slice) & 3) << 26)#define GEN8_MCR_SLICE_MASK GEN8_MCR_SLICE(3)#define GEN8_MCR_SUBSLICE (subslice) (((subslice) & 3) << 24)drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -59,6 +59,7 @@ enum intel_steering_type {L3BANK ,MSLICE ,LNCF , + GAM,/* * On some platforms there are multiple types of MCR registers that drivers/gpu/drm/i915/gt/intel_workarounds.c +10
-0@@ -1181,6 +1181,9 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal) gt->steering_table[MSLICE ] =NULL ; } +if (IS_XEHPSDV (gt->i915) && slice_mask &BIT (0 )) + gt->steering_table[GAM ] =NULL ; + slice =__ffs (slice_mask); subslice =intel_sseu_find_first_xehp_dss (sseu,GEN_DSS_PER_GSLICE , slice) %GEN_DSS_PER_GSLICE ;@@ -1198,6 +1201,13 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal)*/ __set_mcr_steering (wal,MCFG_MCR_SELECTOR ,0 ,2 );__set_mcr_steering (wal,SF_MCR_SELECTOR ,0 ,2 ); + +/* +* On DG2, GAM registers have a dedicated steering control register +* and must always be programmed to a hardcoded groupid of "1." +*/ +if (IS_DG2 (gt->i915)) +__set_mcr_steering (wal,GAM_MCR_SELECTOR ,1 ,0 ); } static voidSignature · 4 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation
Signature · 4 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation
Kumar Valsan, Prathap
Reviewed-byQuoted 35 lines · Matt Roper
Quoted 27 lines · Prathap
Quoted 26 lines · Matt Roper
Quoted 10 lines · Tvrtko Ursulin
Quoted 8 lines · Matt Roper
Although the bspec lists several MMIO ranges as "MSLICE," it turns out that a subset of these are of a "GAM" subclass that has unique rules and doesn't followed regular mslice steering behavior.
*
Xe_HPSDV: GAM ranges must always be steered to 0,0. These registers share the regular steering control register (0xFDC) with other steering typesQuoted 8 lines
Quoted 5 lines
* DG2: GAM ranges must always be steered to 1,0. GAM registers have a dedicated steering control register (
0xFE0) so we can set the value once at startup and rely on implicit steering. Technically the hardware default should already be set to 1,0 properly, but it never hurts to ensure that in the driver.Do you have any data on whether the "technically should" holds in practice? What would be the consequences of some platform/machine surprising us here?
The bspec indicates the hardware default value is already the necessary 1,0 value; I'm mostly paranoid about some kind of boot firmware wiping it to 0,0 by accident. I don't have any evidence that has ever actually happened, but explicitly re-programming it to 1,0 in the patch here is a defensive measure just to be safe.
Quoted 6 lines
Quoted 3 lines
If we didn't have this patch _and_ some firmware screwed up the GAM steering target, then presumably we might read back garbage or 0 from GAM registers in places where we should have received a real value.
Will firmware ever touch the steering target registers. As i was going through the respective hsd. The software driver impact is marked as none so wondering if this change is really required ?
Quoted 5 lines
The GAM only has a dedicated steering register on DG2; on XEHPSDV it shares
0xFDCwith all the other kinds of steering, so it is important to handle this range independently of the MSLICE range and make sure we properly re-steer GAM accesses to the primary instance (and not just any random MSLICE) there.
Ok. I missed that part.
Quoted 7 lines
On DG2, if we assume firmware behaves properly, the dedicated steering register is initialized properly and we don't need to explicitly re-steer. However this patch will ensure that we don't needlessly re-program
0xFDCaccording to MSLICE rules when accessing a GAM register.
Quoted 7 lines
There's also the worry that firmware may try to "sanitize" the registers at startup by programming them to what it thinks are appropriate default values. Given that DG2's primary GAM is unusual (instance 1, instead of instance 0 as on other platforms), this feels like a place where firmware bugs could creep in. They hopefully/probably won't, but ensuring we forcefully initialize
0xFE0to the proper value just ensures that we don't even have to worry about it.
Got it.
Quoted 4 lines
Finally, splitting the GAM from MSLICE ensures we get more accurate debug messages from the
drm_printerin dmesg and debugfs.
Looks good to me.
Quoted 148 lines
Matt
Quoted 139 lines
Thanks,
PrathapQuoted 136 lines
Matt
Quoted 126 lines
Regards,
Tvrtko
Quoted 121 lines
Bspec: 66534
Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 24 +++++++++++++++++++-- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/gt/intel_workarounds.c | 10 +++++++++ 4 files changed, 34 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/intel_gt_mcr.c +22
-2@@ -40,6 +40,7 @@ static const char * const intel_steering_types[] = {"L3BANK" ,"MSLICE" ,"LNCF" , +"GAM" , "INSTANCE 0", };@@ -48,14 +49,23 @@ static const struct intel_mmio_range icl_l3bank_steering_table[] = { {}, }; +/* +* Although the bspec lists more "MSLICE" ranges than shown here, some of those +* are of a "GAM" subclass that has special rules. Thus we use a separate +* GAM table farther down for those. +*/ static const struct intel_mmio_range xehpsdv_mslice_steering_table[] = { - {0x004000 ,0x004AFF }, - {0x00C800 ,0x00CFFF }, {0x00DD00 ,0x00DDFF }, {0x00E900 ,0x00FFFF },/* 0xEA00 - OxEFFF is unused */ {}, }; +static const struct intel_mmio_range xehpsdv_gam_steering_table[] = { + {0x004000 ,0x004AFF }, + {0x00C800 ,0x00CFFF }, + {}, +}; +static const struct intel_mmio_range xehpsdv_lncf_steering_table[] = { {0x00B000 ,0x00B0FF }, {0x00D800 ,0x00D8FF },@@ -114,9 +124,15 @@ void intel_gt_mcr_init(struct intel_gt *gt) }else if (IS_DG2 (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = dg2_lncf_steering_table; +/* +* No need to hook up the GAM table since it has a dedicated +* steering control register on DG2 and can use implicit +* steering. +*/ }else if (IS_XEHPSDV (i915)) { gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; gt->steering_table[LNCF ] = xehpsdv_lncf_steering_table; + gt->steering_table[GAM ] = xehpsdv_gam_steering_table; }else if (GRAPHICS_VER (i915) >=11 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) { gt->steering_table[L3BANK ] = icl_l3bank_steering_table;@@ -351,6 +367,10 @@ static void get_nonterminated_steering(struct intel_gt *gt, *group =__ffs (gt->info.mslice_mask) <<1 ; *instance =0 ;/* unused */ break ; +case GAM : + *group =IS_DG2 (gt->i915) ?1 :0 ; + *instance =0 ; +break ;case INSTANCE0 :/* * There are a lot of MCR types for which instance (0, 0) drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0@@ -42,6 +42,7 @@#define MCFG_MCR_SELECTOR _MMIO(0xfd0)#define SF_MCR_SELECTOR _MMIO(0xfd8)#define GEN8_MCR_SELECTOR _MMIO(0xfdc) +#define GAM_MCR_SELECTOR _MMIO(0xfe0)#define GEN8_MCR_SLICE (slice) (((slice) & 3) << 26)#define GEN8_MCR_SLICE_MASK GEN8_MCR_SLICE(3)#define GEN8_MCR_SUBSLICE (subslice) (((subslice) & 3) << 24)drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -59,6 +59,7 @@ enum intel_steering_type {L3BANK ,MSLICE ,LNCF , + GAM,/* * On some platforms there are multiple types of MCR registers that drivers/gpu/drm/i915/gt/intel_workarounds.c +10
-0@@ -1181,6 +1181,9 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal) gt->steering_table[MSLICE ] =NULL ; } +if (IS_XEHPSDV (gt->i915) && slice_mask &BIT (0 )) + gt->steering_table[GAM ] =NULL ; + slice =__ffs (slice_mask); subslice =intel_sseu_find_first_xehp_dss (sseu,GEN_DSS_PER_GSLICE , slice) %GEN_DSS_PER_GSLICE ;@@ -1198,6 +1201,13 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal)*/ __set_mcr_steering (wal,MCFG_MCR_SELECTOR ,0 ,2 );__set_mcr_steering (wal,SF_MCR_SELECTOR ,0 ,2 ); + +/* +* On DG2, GAM registers have a dedicated steering control register +* and must always be programmed to a hardcoded groupid of "1." +*/ +if (IS_DG2 (gt->i915)) +__set_mcr_steering (wal,GAM_MCR_SELECTOR ,1 ,0 ); } static voidSignature · 4 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel CorporationSignature · 4 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation