drm/i915: Add Wa_14015150844
Subsystems (2)
PATCH 1/1 drm/i915: Add Wa_14015150844
Disables Atomic-chaining of Typed Writes.
BSpec: 54040
--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 2 ++ drivers/gpu/drm/i915/gt/intel_workarounds.c | 8 ++++++++ 2 files changed, 10 insertions(+)
drivers/gpu/drm/i915/gt/intel_gt_regs.h +2 -0
@@ -1218,6 +1218,8 @@#define XEHP_HDC_CHICKEN0 MCR_REG(0xe5f0)#define LSC_L1_FLUSH_CTL_3D_DATAPORT_FLUSH_EVENTS_MASK REG_GENMASK(13, 11) +#define ATOMIC_CHAINING_TYPED_WRITES REG_BIT(3) +#define ICL_HDC_MODE MCR_REG(0xe5f4)#define EU_PERF_CNTL2 PERF_REG(0xe658)
drivers/gpu/drm/i915/gt/intel_workarounds.c +8 -0
@@ -2327,6 +2327,14 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal) LSC_L1_FLUSH_CTL_3D_DATAPORT_FLUSH_EVENTS_MASK); } +if (IS_GFX_GT_IP_RANGE (gt,IP_VER (12 ,70 ),IP_VER (12 ,71 )) || +IS_DG2 (i915)) { +/* Wa_14015150844 */ +wa_mcr_add (wal,XEHP_HDC_CHICKEN0 ,0 , +_MASKED_BIT_DISABLE (ATOMIC_CHAINING_TYPED_WRITES ), +0 , true); + } +if (IS_DG2_G11 (i915) ||IS_DG2_G10 (i915)) {/* Wa_22014600077:dg2 */ wa_mcr_add(wal, GEN10_CACHE_MODE_SS, 0,
Signature · 1 line
2.34.1
Quoted 14 lines · Shekhar Chauhan
Disables Atomic-chaining of Typed Writes.
BSpec: 54040
Signed-off-by Shekhar Chauhan <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 2 ++ drivers/gpu/drm/i915/gt/intel_workarounds.c | 8 ++++++++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/gt/intel_gt_regs.h +0
-0
drivers/gpu/drm/i915/gt/intel_gt_regs.h line 1221
Quoted 4 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0@@ -1218,6 +1218,8 @@#define XEHP_HDC_CHICKEN0 MCR_REG(0xe5f0)#define LSC_L1_FLUSH_CTL_3D_DATAPORT_FLUSH_EVENTS_MASK REG_GENMASK(13, 11) +#define ATOMIC_CHAINING_TYPED_WRITES REG_BIT(3)
Since a value of "1" for this bit disables something in the hardware, we'd often put "DIS" or "DISABLE" in the name somewhere. E.g., the name we used for this bit in the Xe driver is "DIS_ATOMIC_CHAINING_TYPED_WRITES" which helps clarify the semantics a bit.
Quoted 9 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0+#define ICL_HDC_MODE MCR_REG(0xe5f4)#define EU_PERF_CNTL2 PERF_REG(0xe658)drivers/gpu/drm/i915/gt/intel_workarounds.c +0
-0
drivers/gpu/drm/i915/gt/intel_workarounds.c rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal) · line 2334
Quoted 8 lines
drivers/gpu/drm/i915/gt/intel_workarounds.c +5
-0@@ -2327,6 +2327,14 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal) LSC_L1_FLUSH_CTL_3D_DATAPORT_FLUSH_EVENTS_MASK); } +if (IS_GFX_GT_IP_RANGE (gt,IP_VER (12 ,70 ),IP_VER (12 ,71 )) || +IS_DG2 (i915)) { +/* Wa_14015150844 */ + wa_mcr_add(wal, XEHP_HDC_CHICKEN0, 0, + _MASKED_BIT_DISABLE(ATOMIC_CHAINING_TYPED_WRITES),
_MASKED_BIT_DISABLE will disable the bit (i.e., set it to 0), which will enable the behavior in hardware (and a value of 0 is also the hardware default in this case). Since the workaround description is asking us to set the chicken bit (thus disabling the hardware behavior), I think we want _MASKED_BIT_ENABLE here.
It's always a bit confusing when enabling a bit disables a behavior and vice versa, but it's a pretty common pattern for hardware chicken bits like these.
Matt
Quoted 9 lines
drivers/gpu/drm/i915/gt/intel_workarounds.c +3
-0+ 0, true); + } +if (IS_DG2_G11 (i915) ||IS_DG2_G10 (i915)) {/* Wa_22014600077:dg2 */ wa_mcr_add(wal, GEN10_CACHE_MODE_SS, 0,Signature · 1 line
2.34.1
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Add Wa_14015150844 (rev2)
In reply to Shekhar Chauhan== Series Details ==
== Series Details ==
Series: drm/i915: Add Wa_14015150844 (rev2)
URL : https://patchwork.freedesktop.org/series/123074/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13583 -> Patchwork_123074v2
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_123074v2 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_123074v2, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/index.html
Participating hosts (38 -> 38)
------------------------------
Additional (2): fi-kbl-soraka bat-rpls-2
Missing (2): fi-tgl-1115g4 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_123074v2:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_fence@basic-await@vcs1:
- bat-mtlp-6: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13583/bat-mtlp-6/igt@gem_exec_fence@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-mtlp-6/igt@gem_exec_fence@[email protected]
Known issues
------------
Here are the changes found in Patchwork_123074v2 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- bat-rpls-2: NOTRUN -> [SKIP][3] ([i915#7456])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@fbdev@info:
- bat-rpls-2: NOTRUN -> [SKIP][4] ([i915#1849] / [i915#2582])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@fbdev@read:
- bat-rpls-2: NOTRUN -> [SKIP][5] ([i915#2582]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#2190])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#4613]) +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- bat-rpls-2: NOTRUN -> [SKIP][8] ([i915#4613]) +3 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@gem_tiled_pread_basic:
- bat-rpls-2: NOTRUN -> [SKIP][9] ([i915#3282])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@gem_tiled_pread_basic.html
* igt@i915_pm_backlight@basic-brightness:
- bat-rpls-2: NOTRUN -> [SKIP][10] ([i915#7561])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-rpls-2: NOTRUN -> [SKIP][11] ([i915#6621])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@i915_selftest@live@gt_pm:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][12] ([i915#4258] / [i915#7913])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@i915_selftest@live@gt_pm.html
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][13] ([i915#1886] / [i915#7913])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@kms_busy@basic:
- bat-rpls-2: NOTRUN -> [SKIP][14] ([i915#1845]) +16 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-kbl-soraka: NOTRUN -> [SKIP][15] ([fdo#109271]) +8 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/fi-kbl-soraka/igt@[email protected]
* igt@kms_flip@basic-flip-vs-dpms:
- bat-rpls-2: NOTRUN -> [SKIP][16] ([i915#3637]) +3 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-rpls-2: NOTRUN -> [SKIP][17] ([fdo#109285])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-rpls-2: NOTRUN -> [SKIP][18] ([i915#1849])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- bat-rpls-2: NOTRUN -> [SKIP][19] ([i915#1072]) +3 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@kms_psr@sprite_plane_onoff.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-rpls-2: NOTRUN -> [SKIP][20] ([i915#3555])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-rpls-2: NOTRUN -> [SKIP][21] ([fdo#109295] / [i915#1845] / [i915#3708])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-rpls-2: NOTRUN -> [SKIP][22] ([fdo#109295] / [i915#3708]) +2 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rpls-2/igt@[email protected]
#### Possible fixes ####
* igt@kms_chamelium_edid@hdmi-edid-read:
- {bat-dg2-13}: [DMESG-WARN][23] ([i915#7952]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13583/bat-dg2-13/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-dg2-13/igt@[email protected]
#### Warnings ####
* igt@kms_psr@primary_mmap_gtt:
- bat-rplp-1: [ABORT][25] ([i915#8469]) -> [ABORT][26] ([i915#8442] / [i915#8469] / [i915#8668])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13583/bat-rplp-1/igt@kms_psr@primary_mmap_gtt.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/bat-rplp-1/igt@kms_psr@primary_mmap_gtt.html
{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
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7952]: https://gitlab.freedesktop.org/drm/intel/issues/7952
[i915#8442]: https://gitlab.freedesktop.org/drm/intel/issues/8442
[i915#8469]: https://gitlab.freedesktop.org/drm/intel/issues/8469
[i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
Build changes
-------------
* Linux: CI_DRM_13583 -> Patchwork_123074v2
CI-20190529: 20190529
CI_DRM_13583: f299d7585a085ee36999da219c292e265da35886 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7460: 30b4034ea562952039ba6af58106791d5c39999e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_123074v2: f299d7585a085ee36999da219c292e265da35886 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
0c19fc89eaa5 drm/i915: Add Wa_14015150844
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123074v2/index.html