Skip to contentSkip to conversation

drm/i915/mtl: Disable C6 on MTL A0 for media

PATCH In review Umesh Nerlige Ramappa 3 participants 5 messages Mar 24, 2023

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

PATCH 1/1 drm/i915/mtl: Disable C6 on MTL A0 for media

Earlier merge dropped an if block when applying the patch - "drm/i915/mtl: Synchronize i915/BIOS on C6 enabling". Bring back the if block as the check is required by - "drm/i915/mtl: Disable MC6 for MTL A step" to disable C6 on media for A0 stepping.

Fixes 3735040978a4 ("drm/i915/mtl: Synchronize i915/BIOS on C6 enabling")
---
 drivers/gpu/drm/i915/gt/intel_rc6.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/i915/gt/intel_rc6.c +7 -0
index f760586f9f46..8f3cd68d14f8 100644
@@ -525,6 +525,13 @@ static bool rc6_supported(struct intel_rc6 *rc6)
 		return false;
 	}
 
+	if (IS_MTL_MEDIA_STEP(gt->i915, STEP_A0, STEP_B0) &&
+	    gt->type == GT_MEDIA) {
+		drm_notice(&i915->drm,
+			   "Media RC6 disabled on A step\n");
+		return false;
+	}
+
 	return true;
 }
 
Signature · 1 line
2.36.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Umesh Nerlige Ramappa

Earlier merge dropped an if block when applying the patch - "drm/i915/mtl: Synchronize i915/BIOS on C6 enabling". Bring back the if block as the check is required by - "drm/i915/mtl: Disable MC6 for MTL A step" to disable C6 on media for A0 stepping.

LGTM,

Quoted 25 lines
Fixes 3735040978a4 ("drm/i915/mtl: Synchronize i915/BIOS on C6 enabling")
---
  drivers/gpu/drm/i915/gt/intel_rc6.c | 7 +++++++
  1 file changed, 7 insertions(+)
drivers/gpu/drm/i915/gt/intel_rc6.c +7 -0
index f760586f9f46..8f3cd68d14f8 100644
@@ -525,6 +525,13 @@ static bool rc6_supported(struct intel_rc6 *rc6)
  		return false;
  	}
 
+	if (IS_MTL_MEDIA_STEP(gt->i915, STEP_A0, STEP_B0) &&
+	    gt->type == GT_MEDIA) {
+		drm_notice(&i915->drm,
+			   "Media RC6 disabled on A step\n");
+		return false;
+	}
+
  	return true;
  }
 
#2 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/mtl: Disable C6 on MTL A0 for media

In reply to Umesh Nerlige Ramappa
== Series Details ==

== Series Details ==

Series: drm/i915/mtl: Disable C6 on MTL A0 for media
URL : https://patchwork.freedesktop.org/series/115610/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12911 -> Patchwork_115610v1
====================================================

Summary
-------

**FAILURE**

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

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

Participating hosts (37 -> 35)
------------------------------

Missing (2): fi-tgl-1115g4 fi-snb-2520m

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@workarounds:
- bat-rpls-1: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12911/bat-rpls-1/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v1/bat-rpls-1/igt@i915_selftest@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live@reset:
- bat-rpls-2: [PASS][3] -> [ABORT][4] ([i915#4983] / [i915#7913])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12911/bat-rpls-2/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v1/bat-rpls-2/igt@i915_selftest@[email protected]

#### Possible fixes ####

* igt@i915_pm_rps@basic-api:
- bat-dg1-5: [FAIL][5] ([i915#8308]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12911/bat-dg1-5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v1/bat-dg1-5/igt@[email protected]

* igt@i915_selftest@live@hangcheck:
- fi-skl-guc: [DMESG-WARN][7] ([i915#8073]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12911/fi-skl-guc/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v1/fi-skl-guc/igt@i915_selftest@[email protected]

[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#8073]: https://gitlab.freedesktop.org/drm/intel/issues/8073
[i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308

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

* Linux: CI_DRM_12911 -> Patchwork_115610v1

CI-20190529: 20190529
CI_DRM_12911: 57d579dfa8400021292fdca447983cfb59246061 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7218: 8036123f781059c54a31240756794b17bd3d15dc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115610v1: 57d579dfa8400021292fdca447983cfb59246061 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

a8d8db98c7b7 drm/i915/mtl: Disable C6 on MTL A0 for media

== Logs ==

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

#3 lore raw

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/mtl: Disable C6 on MTL A0 for media

Quoted 35 lines · Patchwork

Patch Details

Series:  drm/i915/mtl: Disable C6 on MTL A0 for media
URL:     [1]https://patchwork.freedesktop.org/series/115610/
State:   failure
Details: [2]https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v1/index.html
         CI Bug Log - changes from CI_DRM_12911 -> Patchwork_115610v1

Summary

FAILURE

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

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

Participating hosts (37 -> 35)

Missing (2): fi-tgl-1115g4 fi-snb-2520m

Possible new issues

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

Quoted 7 lines

IGT changes

   Possible regressions

    * igt@i915_selftest@live@workarounds:

         * bat-rpls-1: [3]PASS -> [4]INCOMPLETE

Patch is specific to MTL A0, so the above failure is not related to this change.

Regards,
Umesh

Quoted 2 lines

Known issues

#4 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/mtl: Disable C6 on MTL A0 for media (rev2)

In reply to Umesh Nerlige Ramappa
== Series Details ==

== Series Details ==

Series: drm/i915/mtl: Disable C6 on MTL A0 for media (rev2)
URL : https://patchwork.freedesktop.org/series/115610/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12912 -> Patchwork_115610v2
====================================================

Summary
-------

**FAILURE**

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

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

Participating hosts (38 -> 36)
------------------------------

Missing (2): fi-kbl-soraka fi-snb-2520m

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@objects:
- bat-atsm-1: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12912/bat-atsm-1/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-atsm-1/igt@i915_selftest@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_suspend@basic-s3@smem:
- bat-rpls-2: NOTRUN -> [ABORT][3] ([i915#6687] / [i915#7978])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-rpls-2/igt@gem_exec_suspend@[email protected]

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

* igt@i915_selftest@live@hangcheck:
- bat-dg2-11: [PASS][6] -> [ABORT][7] ([i915#7913])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12912/bat-dg2-11/igt@i915_selftest@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-dg2-11/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@requests:
- bat-rpls-1: [PASS][8] -> [ABORT][9] ([i915#4983] / [i915#7911])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12912/bat-rpls-1/igt@i915_selftest@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][10] ([i915#6367] / [i915#7913] / [i915#7996])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-rpls-2/igt@i915_selftest@[email protected]
- bat-adln-1: NOTRUN -> [DMESG-FAIL][11] ([i915#6997])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-adln-1/igt@i915_selftest@[email protected]

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

* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][13] ([i915#5354]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-dg2-11/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@gt_lrc:
- bat-adln-1: [INCOMPLETE][14] ([i915#4983] / [i915#7609]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12912/bat-adln-1/igt@i915_selftest@live@gt_lrc.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-adln-1/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][16] ([i915#4983] / [i915#7913]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12912/bat-rpls-2/igt@i915_selftest@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-rpls-2/igt@i915_selftest@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-d-hdmi-a-2:
- bat-dg1-5: [FAIL][18] ([fdo#103375]) -> [PASS][19] +4 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12912/bat-dg1-5/igt@kms_pipe_crc_basic@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115610v2/bat-dg1-5/igt@kms_pipe_crc_basic@[email protected]

[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7609]: https://gitlab.freedesktop.org/drm/intel/issues/7609
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996

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

* Linux: CI_DRM_12912 -> Patchwork_115610v2

CI-20190529: 20190529
CI_DRM_12912: 28b9e84f614bdf4dfc33f6ff44568da3fe98db91 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7218: 8036123f781059c54a31240756794b17bd3d15dc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115610v2: 28b9e84f614bdf4dfc33f6ff44568da3fe98db91 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

1be30db5b37b drm/i915/mtl: Disable C6 on MTL A0 for media

== Logs ==

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