Skip to contentSkip to conversation

drm/i915/mtl: Disable SF round to nearest even

PATCH In review Shekhar Chauhan 3 participants 5 messages Aug 9, 2023 – Aug 11, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/mtl: Disable SF round to nearest even

Workaround for disabling round to nearest even in the SF unit.

BSpec: 45818

---
 drivers/gpu/drm/i915/gt/intel_workarounds.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/gt/intel_workarounds.c +3 -0
index 01807a7dd2c1..f233a552539b 100644
@@ -850,6 +850,9 @@ static void mtl_ctx_workarounds_init(struct intel_engine_cs *engine,
 
 	/* Wa_18019271663 */
 	wa_masked_en(wal, CACHE_MODE_1, MSAA_OPTIMIZATION_REDUC_DISABLE);
+
+	/* Wa_15010599737 */
+	wa_mcr_masked_en(wal, CHICKEN_RASTER_1, DIS_SF_ROUND_NEAREST_EVEN);
 }
 
 static void fakewa_disable_nestedbb_mode(struct intel_engine_cs *engine,
Signature · 1 line
2.34.1
#1 lore raw

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/mtl: Disable SF round to nearest even

== Series Details ==

== Series Details ==

Series: drm/i915/mtl: Disable SF round to nearest even
URL : https://patchwork.freedesktop.org/series/122198/
State : warning

== Summary ==

Error: dim checkpatch failed
/home/kbuild2/linux/maintainer-tools/dim: line 50: /home/kbuild2/.dimrc: No such file or directory

#3 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/mtl: Disable SF round to nearest even

In reply to Shekhar Chauhan
== Series Details ==

== Series Details ==

Series: drm/i915/mtl: Disable SF round to nearest even
URL : https://patchwork.freedesktop.org/series/122198/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_13492 -> Patchwork_122198v1
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_122198v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_122198v1, 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_122198v1/index.html

Participating hosts (43 -> 41)
------------------------------

Missing (2): bat-dg2-9 fi-snb-2520m

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_122198v1:

### IGT changes ###

#### Possible regressions ####

* igt@dmabuf@all-tests@sanitycheck:
- fi-kbl-7567u: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/fi-kbl-7567u/igt@dmabuf@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/fi-kbl-7567u/igt@dmabuf@[email protected]

Known issues
------------

Here are the changes found in Patchwork_122198v1 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@dmabuf@all-tests@dma_fence:
- fi-kbl-7567u: [PASS][3] -> [DMESG-FAIL][4] ([i915#8189])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/fi-kbl-7567u/igt@dmabuf@all-tests@dma_fence.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/fi-kbl-7567u/igt@dmabuf@all-tests@dma_fence.html

* igt@i915_selftest@live@execlists:
- fi-bsw-n3050: [PASS][5] -> [ABORT][6] ([i915#7913])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/fi-bsw-n3050/igt@i915_selftest@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/fi-bsw-n3050/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [PASS][7] -> [DMESG-FAIL][8] ([i915#5334])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html

* igt@i915_selftest@live@gt_lrc:
- bat-dg2-11: [PASS][9] -> [INCOMPLETE][10] ([i915#7609] / [i915#7913])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-dg2-11/igt@i915_selftest@live@gt_lrc.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-dg2-11/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@gt_mocs:
- bat-mtlp-8: [PASS][11] -> [DMESG-FAIL][12] ([i915#7059])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-mtlp-8/igt@i915_selftest@live@gt_mocs.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-mtlp-8/igt@i915_selftest@live@gt_mocs.html

* igt@i915_selftest@live@requests:
- bat-rpls-2: [PASS][13] -> [ABORT][14] ([i915#7913] / [i915#7982])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-rpls-2/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-rpls-2/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@slpc:
- bat-rpls-1: NOTRUN -> [DMESG-WARN][15] ([i915#6367])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-1: NOTRUN -> [ABORT][16] ([i915#6687] / [i915#7978] / [i915#8668])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-rpls-1/igt@[email protected]

* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-jsl-3: NOTRUN -> [SKIP][17] ([i915#7828])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-jsl-3/igt@[email protected]

* igt@kms_psr@primary_mmap_gtt:
- bat-rplp-1: NOTRUN -> [SKIP][18] ([i915#1072]) +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-rplp-1/igt@kms_psr@primary_mmap_gtt.html

* igt@kms_setmode@basic-clone-single-crtc:
- bat-rplp-1: NOTRUN -> [ABORT][19] ([i915#8260] / [i915#8668])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-rplp-1/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s0@smem:
- bat-jsl-3: [ABORT][20] ([i915#5122]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-jsl-3/igt@gem_exec_suspend@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-jsl-3/igt@gem_exec_suspend@[email protected]

* igt@i915_pm_rpm@basic-rte:
- fi-cfl-8109u: [FAIL][22] ([i915#7940]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/fi-cfl-8109u/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/fi-cfl-8109u/igt@[email protected]
- fi-skl-guc: [FAIL][24] ([i915#7940]) -> [PASS][25] +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/fi-skl-guc/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/fi-skl-guc/igt@[email protected]

* igt@i915_pm_rpm@module-reload:
- fi-tgl-1115g4: [FAIL][26] ([i915#7940]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/fi-tgl-1115g4/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/fi-tgl-1115g4/igt@[email protected]

* igt@i915_selftest@live@gt_mocs:
- bat-mtlp-6: [DMESG-FAIL][28] ([i915#7059]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-mtlp-6/igt@i915_selftest@live@gt_mocs.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-mtlp-6/igt@i915_selftest@live@gt_mocs.html

* igt@i915_selftest@live@requests:
- bat-mtlp-8: [DMESG-FAIL][30] ([i915#8497]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-mtlp-8/igt@i915_selftest@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-mtlp-8/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@reset:
- bat-rpls-1: [ABORT][32] ([i915#4983] / [i915#7461] / [i915#8347] / [i915#8384]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-rpls-1/igt@i915_selftest@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@slpc:
- bat-mtlp-6: [DMESG-WARN][34] ([i915#6367]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-mtlp-6/igt@i915_selftest@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-mtlp-6/igt@i915_selftest@[email protected]
- bat-mtlp-8: [DMESG-WARN][36] ([i915#6367]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-mtlp-8/igt@i915_selftest@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-mtlp-8/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- bat-jsl-3: [FAIL][38] ([fdo#103375]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-jsl-3/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-jsl-3/igt@[email protected]

#### Warnings ####

* igt@i915_module_load@load:
- bat-adlp-11: [DMESG-WARN][40] ([i915#4423]) -> [ABORT][41] ([i915#4423])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-adlp-11/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-adlp-11/igt@[email protected]

* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-kbl-guc: [SKIP][42] ([fdo#109271]) -> [FAIL][43] ([i915#7940])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/fi-kbl-guc/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/fi-kbl-guc/igt@[email protected]

* igt@i915_selftest@live@requests:
- bat-mtlp-6: [DMESG-FAIL][44] ([i915#8497]) -> [DMESG-FAIL][45] ([i915#7269])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-mtlp-6/igt@i915_selftest@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-mtlp-6/igt@i915_selftest@[email protected]

* igt@kms_psr@primary_page_flip:
- bat-rplp-1: [ABORT][46] ([i915#8442] / [i915#8668] / [i915#8860]) -> [SKIP][47] ([i915#1072])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13492/bat-rplp-1/igt@kms_psr@primary_page_flip.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/bat-rplp-1/igt@kms_psr@primary_page_flip.html

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[Intel XE#486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/486
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7059]: https://gitlab.freedesktop.org/drm/intel/issues/7059
[i915#7269]: https://gitlab.freedesktop.org/drm/intel/issues/7269
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7609]: https://gitlab.freedesktop.org/drm/intel/issues/7609
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7940]: https://gitlab.freedesktop.org/drm/intel/issues/7940
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7982]: https://gitlab.freedesktop.org/drm/intel/issues/7982
[i915#8189]: https://gitlab.freedesktop.org/drm/intel/issues/8189
[i915#8260]: https://gitlab.freedesktop.org/drm/intel/issues/8260
[i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
[i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384
[i915#8442]: https://gitlab.freedesktop.org/drm/intel/issues/8442
[i915#8497]: https://gitlab.freedesktop.org/drm/intel/issues/8497
[i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
[i915#8860]: https://gitlab.freedesktop.org/drm/intel/issues/8860
[i915#8879]: https://gitlab.freedesktop.org/drm/intel/issues/8879

Build changes
-------------

* Linux: CI_DRM_13492 -> Patchwork_122198v1

CI-20190529: 20190529
CI_DRM_13492: 525b387a224ced0a360fcbf92794392999de7208 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7422: a7b9e93b67f02d17b99f9331fdcda14e21172c8c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_122198v1: 525b387a224ced0a360fcbf92794392999de7208 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

6dfb77acecb4 drm/i915/mtl: Disable SF round to nearest even

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_122198v1/index.html

#4 lore raw
In reply to Shekhar Chauhan
Quoted 1 line · Shekhar Chauhan

Workaround for disabling round to nearest even in the SF unit.

I don't think we want/need this workaround in i915 (see the explanation I just gave on the Xe patch for the same workaround). However we do need to _drop_ the implementation of this workaround that we already have for DG2.

Matt

Quoted 24 lines

BSpec: 45818

---
 drivers/gpu/drm/i915/gt/intel_workarounds.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/gt/intel_workarounds.c +3 -0
index 01807a7dd2c1..f233a552539b 100644
@@ -850,6 +850,9 @@ static void mtl_ctx_workarounds_init(struct intel_engine_cs *engine,
 
 	/* Wa_18019271663 */
 	wa_masked_en(wal, CACHE_MODE_1, MSAA_OPTIMIZATION_REDUC_DISABLE);
+
+	/* Wa_15010599737 */
+	wa_mcr_masked_en(wal, CHICKEN_RASTER_1, DIS_SF_ROUND_NEAREST_EVEN);
 }
 
 static void fakewa_disable_nestedbb_mode(struct intel_engine_cs *engine,
Signature · 1 line
2.34.1
Signature · 4 lines
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation