Skip to contentSkip to conversation

Revert "drm/i915/dg2: Add relocation exception"

PATCH In review Zbigniew Kempczyński 3 participants 8 messages Mar 23, 2022 – May 27, 2022

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

PATCH 1/1 Revert "drm/i915/dg2: Add relocation exception"

This reverts commit 904ebf2ba89edaeba5c7c10540e43dba63541dc6.

Failures on dg2 tests were caused by invalid alignment when local memory was in use. Changes which adopt alignment according to gen were already merged in IGT so lets revert relocation temporary enabler for dg2. Keeping it is a little bit problematic for IGT because on premerge we would see results with kernel which supports relocation. To see no-relocation results we need to send disabler (like this revert), point IGT with "Test-with" tag what is cumbersome and time consuming so lets do this permanently. If we will see some failures they need to be fixed instead of keeping relocation enabler.

Cc Lucas De Marchi <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Jason Ekstrand <[email protected]>
Cc Rodrigo Vivi <[email protected]>
---
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +1 -1
index 42a49fd2f2ab..8b0b4aeb6716 100644
@@ -501,7 +501,7 @@ static bool platform_has_relocs_enabled(const struct i915_execbuffer *eb)
 	 */
 	if (GRAPHICS_VER(eb->i915) < 12 || IS_TIGERLAKE(eb->i915) ||
 	    IS_ROCKETLAKE(eb->i915) || IS_ALDERLAKE_S(eb->i915) ||
-	    IS_ALDERLAKE_P(eb->i915) || IS_DG2(eb->i915))
+	    IS_ALDERLAKE_P(eb->i915))
 		return true;
 
 	return false;
Signature · 1 line
2.32.0
#1 lore raw

[Intel-gfx] ✗ Fi.CI.DOCS: warning for Revert "drm/i915/dg2: Add relocation exception" (rev2)

== Series Details ==

== Series Details ==

Series: Revert "drm/i915/dg2: Add relocation exception" (rev2)
URL : https://patchwork.freedesktop.org/series/101669/
State : warning

== Summary ==

$ make htmldocs 2>&1 > /dev/null | grep i915
./drivers/gpu/drm/i915/display/intel_drrs.c:1: warning: 'intel_drrs_enable' not found
./drivers/gpu/drm/i915/display/intel_drrs.c:1: warning: 'intel_drrs_disable' not found
#2 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for Revert "drm/i915/dg2: Add relocation exception" (rev2)

In reply to Zbigniew Kempczyński
== Series Details ==

== Series Details ==

Series: Revert "drm/i915/dg2: Add relocation exception" (rev2)
URL : https://patchwork.freedesktop.org/series/101669/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_11398 -> Patchwork_22660
====================================================

Summary
-------

**FAILURE**

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

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

Participating hosts (45 -> 42)
------------------------------

Additional (5): bat-dg2-8 bat-dg2-9 fi-kbl-8809g bat-rpls-1 bat-jsl-1
Missing (8): fi-kbl-soraka shard-tglu fi-hsw-4200u bat-adlm-1 fi-bsw-cyan fi-ctg-p8600 shard-rkl fi-bdw-samus

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11398/fi-hsw-4770/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-hsw-4770/igt@i915_selftest@[email protected]

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@gem_busy@busy@all:
- {bat-dg2-8}: NOTRUN -> [INCOMPLETE][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/bat-dg2-8/igt@gem_busy@[email protected]

* igt@gem_exec_gttfill@basic:
- {bat-dg2-9}: NOTRUN -> [SKIP][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/bat-dg2-9/igt@[email protected]

* igt@gem_exec_suspend@basic-s0@smem:
- {bat-dg2-9}: NOTRUN -> [FAIL][5] +7 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/bat-dg2-9/igt@gem_exec_suspend@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][6] ([fdo#109271]) +17 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-snb-2600/igt@amdgpu/[email protected]

* igt@gem_exec_suspend@basic-s0@smem:
- fi-kbl-8809g: NOTRUN -> [DMESG-WARN][7] ([i915#4962]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-kbl-8809g/igt@gem_exec_suspend@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-kbl-8809g: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#2190])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-kbl-8809g/igt@[email protected]

* igt@gem_lmem_swapping@random-engines:
- fi-kbl-8809g: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#4613]) +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-kbl-8809g/igt@[email protected]

* igt@i915_pm_rpm@basic-rte:
- fi-kbl-8809g: NOTRUN -> [SKIP][10] ([fdo#109271]) +54 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-kbl-8809g/igt@[email protected]

* igt@i915_selftest@live@gt_engines:
- bat-dg1-6: [PASS][11] -> [INCOMPLETE][12] ([i915#4418])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11398/bat-dg1-6/igt@i915_selftest@live@gt_engines.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/bat-dg1-6/igt@i915_selftest@live@gt_engines.html

* igt@kms_chamelium@hdmi-edid-read:
- fi-kbl-8809g: NOTRUN -> [SKIP][13] ([fdo#109271] / [fdo#111827]) +8 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-kbl-8809g/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:
- fi-kbl-8809g: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#5341])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-kbl-8809g/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-kbl-8809g: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#533])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-kbl-8809g/igt@[email protected]

* igt@runner@aborted:
- fi-hsw-4770: NOTRUN -> [FAIL][16] ([fdo#109271] / [i915#1436] / [i915#2722] / [i915#4312])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-hsw-4770/igt@[email protected]
- bat-dg1-6: NOTRUN -> [FAIL][17] ([i915#4312] / [i915#5257])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/bat-dg1-6/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@gt_timelines:
- {bat-rpls-2}: [DMESG-WARN][18] ([i915#4391]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11398/bat-rpls-2/igt@i915_selftest@live@gt_timelines.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/bat-rpls-2/igt@i915_selftest@live@gt_timelines.html

* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [INCOMPLETE][20] ([i915#3921]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11398/fi-snb-2600/igt@i915_selftest@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-snb-2600/igt@i915_selftest@[email protected]

* igt@kms_busy@basic@modeset:
- {bat-adlp-6}: [DMESG-WARN][22] ([i915#3576]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11398/bat-adlp-6/igt@kms_busy@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/bat-adlp-6/igt@kms_busy@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:
- fi-cfl-8109u: [DMESG-WARN][24] ([i915#295] / [i915#5341]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11398/fi-cfl-8109u/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-cfl-8109u/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc-pipe-b:
- fi-cfl-8109u: [DMESG-WARN][26] ([i915#295]) -> [PASS][27] +10 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11398/fi-cfl-8109u/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-cfl-8109u/igt@[email protected]

#### Warnings ####

* igt@runner@aborted:
- fi-apl-guc: [FAIL][28] ([i915#2426] / [i915#4312]) -> [FAIL][29] ([i915#4312])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11398/fi-apl-guc/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/fi-apl-guc/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#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#295]: https://gitlab.freedesktop.org/drm/intel/issues/295
[i915#3003]: https://gitlab.freedesktop.org/drm/intel/issues/3003
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3576]: https://gitlab.freedesktop.org/drm/intel/issues/3576
[i915#3595]: https://gitlab.freedesktop.org/drm/intel/issues/3595
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4418]: https://gitlab.freedesktop.org/drm/intel/issues/4418
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4897]: https://gitlab.freedesktop.org/drm/intel/issues/4897
[i915#4962]: https://gitlab.freedesktop.org/drm/intel/issues/4962
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5192]: https://gitlab.freedesktop.org/drm/intel/issues/5192
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5339]: https://gitlab.freedesktop.org/drm/intel/issues/5339
[i915#5341]: https://gitlab.freedesktop.org/drm/intel/issues/5341

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

* Linux: CI_DRM_11398 -> Patchwork_22660

CI-20190529: 20190529
CI_DRM_11398: da54e0aff302424358b14f443a9be2f84bb6ca47 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6389: fa423f527496936a759eb838b023642deea7625f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_22660: 1efe3a8db87fa1aa51256528bd863ffaadea5689 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

1efe3a8db87f Revert "drm/i915/dg2: Add relocation exception"

== Logs ==

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

#3 lore raw

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for Revert "drm/i915/dg2: Add relocation exception" (rev2)

Quoted 35 lines · Patchwork
   Patch Details

   Series:  Revert "drm/i915/dg2: Add relocation exception" (rev2)              
   URL:     https://patchwork.freedesktop.org/series/101669/                    
   State:   failure                                                             
   Details: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/index.html 

           CI Bug Log - changes from CI_DRM_11398 -> Patchwork_22660

Summary

FAILURE

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

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

Participating hosts (45 -> 42)

   Additional (5): bat-dg2-8 bat-dg2-9 fi-kbl-8809g bat-rpls-1 bat-jsl-1
   Missing (8): fi-kbl-soraka shard-tglu fi-hsw-4200u bat-adlm-1 fi-bsw-cyan
   fi-ctg-p8600 shard-rkl fi-bdw-samus

Possible new issues

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

Quoted 6 lines

IGT changes

Possible regressions

* igt@i915_selftest@live@hangcheck:
* fi-hsw-4770: PASS -> INCOMPLETE

Unrelated to the change.

Quoted 8 lines

Suppressed

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@gem_busy@busy@all:

Quoted 7 lines

* {bat-dg2-8}: NOTRUN -> INCOMPLETE
* igt@gem_exec_gttfill@basic:

* {bat-dg2-9}: NOTRUN -> SKIP
* igt@gem_exec_suspend@basic-s0@smem:

* {bat-dg2-9}: NOTRUN -> FAIL +7 similar issues

For this one I got success on no-reloc code:

./gem_exec_suspend --run basic-S0
IGT-Version: 1.26-NO-GIT (x86_64) (Linux: 5.17.0+ x86_64) Starting subtest: basic-S0
Starting dynamic subtest: smem
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Thu Mar 24 07:56:03 2022 Dynamic subtest smem: SUCCESS (2.817s)
Starting dynamic subtest: lmem0
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Thu Mar 24 07:56:20 2022 Dynamic subtest lmem0: SUCCESS (3.184s)
Subtest basic-S0: SUCCESS (6.001s)

@Lucas - please consider reverting relocations for dg2. This will speed up our work and I've fixed yesterday all potential problems with no-reloc for BAT on dg2.
--
Zbigniew

Quoted 87 lines

Known issues

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

IGT changes

Issues hit

* igt@amdgpu/amd_cs_nop@sync-fork-compute0:

* fi-snb-2600: NOTRUN -> SKIP (fdo#109271) +17 similar issues
* igt@gem_exec_suspend@basic-s0@smem:

* fi-kbl-8809g: NOTRUN -> DMESG-WARN (i915#4962) +1 similar issue
* igt@gem_huc_copy@huc-copy:

* fi-kbl-8809g: NOTRUN -> SKIP (fdo#109271 / i915#2190)
* igt@gem_lmem_swapping@random-engines:

* fi-kbl-8809g: NOTRUN -> SKIP (fdo#109271 / i915#4613) +3 similar issues
* igt@i915_pm_rpm@basic-rte:

* fi-kbl-8809g: NOTRUN -> SKIP (fdo#109271) +54 similar issues
* igt@i915_selftest@live@gt_engines:

* bat-dg1-6: PASS -> INCOMPLETE (i915#4418)
* igt@kms_chamelium@hdmi-edid-read:

* fi-kbl-8809g: NOTRUN -> SKIP (fdo#109271 / fdo#111827) +8 similar issues
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:

* fi-kbl-8809g: NOTRUN -> SKIP (fdo#109271 / i915#5341)
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:

* fi-kbl-8809g: NOTRUN -> SKIP (fdo#109271 / i915#533)
* igt@runner@aborted:

* fi-hsw-4770: NOTRUN -> FAIL (fdo#109271 / i915#1436 / i915#2722 / i915#4312)

* bat-dg1-6: NOTRUN -> FAIL (i915#4312 / i915#5257)

Possible fixes

* igt@i915_selftest@live@gt_timelines:

* {bat-rpls-2}: DMESG-WARN (i915#4391) -> PASS
* igt@i915_selftest@live@hangcheck:

* fi-snb-2600: INCOMPLETE (i915#3921) -> PASS
* igt@kms_busy@basic@modeset:

* {bat-adlp-6}: DMESG-WARN (i915#3576) -> PASS
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:

* fi-cfl-8109u: DMESG-WARN (i915#295 / i915#5341) -> PASS
* igt@kms_pipe_crc_basic@read-crc-pipe-b:

* fi-cfl-8109u: DMESG-WARN (i915#295) -> PASS +10 similar issues

Warnings

* igt@runner@aborted:
* fi-apl-guc: FAIL (i915#2426 / i915#4312) -> FAIL (i915#4312)

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

Build changes

* Linux: CI_DRM_11398 -> Patchwork_22660

   CI-20190529: 20190529
   CI_DRM_11398: da54e0aff302424358b14f443a9be2f84bb6ca47 @
   git://anongit.freedesktop.org/gfx-ci/linux
   IGT_6389: fa423f527496936a759eb838b023642deea7625f @
   https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
   Patchwork_22660: 1efe3a8db87fa1aa51256528bd863ffaadea5689 @
   git://anongit.freedesktop.org/gfx-ci/linux

   == Linux commits ==

   1efe3a8db87f Revert "drm/i915/dg2: Add relocation exception"
#4 lore raw

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for Revert "drm/i915/dg2: Add relocation exception" (rev2)

Quoted 76 lines · Zbigniew Kempczyński
Quoted 35 lines · Patchwork
   Patch Details

   Series:  Revert "drm/i915/dg2: Add relocation exception" (rev2)
   URL:     https://patchwork.freedesktop.org/series/101669/
   State:   failure
   Details: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22660/index.html

           CI Bug Log - changes from CI_DRM_11398 -> Patchwork_22660

Summary

FAILURE

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

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

Participating hosts (45 -> 42)

   Additional (5): bat-dg2-8 bat-dg2-9 fi-kbl-8809g bat-rpls-1 bat-jsl-1
   Missing (8): fi-kbl-soraka shard-tglu fi-hsw-4200u bat-adlm-1 fi-bsw-cyan
   fi-ctg-p8600 shard-rkl fi-bdw-samus

Possible new issues

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

Quoted 6 lines

IGT changes

Possible regressions

* igt@i915_selftest@live@hangcheck:
* fi-hsw-4770: PASS -> INCOMPLETE

Unrelated to the change.

Quoted 8 lines

Suppressed

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@gem_busy@busy@all:

Quoted 7 lines

* {bat-dg2-8}: NOTRUN -> INCOMPLETE
* igt@gem_exec_gttfill@basic:

* {bat-dg2-9}: NOTRUN -> SKIP
* igt@gem_exec_suspend@basic-s0@smem:

* {bat-dg2-9}: NOTRUN -> FAIL +7 similar issues

For this one I got success on no-reloc code:

./gem_exec_suspend --run basic-S0
IGT-Version: 1.26-NO-GIT (x86_64) (Linux: 5.17.0+ x86_64) Starting subtest: basic-S0
Starting dynamic subtest: smem
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Thu Mar 24 07:56:03 2022 Dynamic subtest smem: SUCCESS (2.817s)
Starting dynamic subtest: lmem0
[cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Thu Mar 24 07:56:20 2022 Dynamic subtest lmem0: SUCCESS (3.184s)
Subtest basic-S0: SUCCESS (6.001s)

Quoted 3 lines

@Lucas - please consider reverting relocations for dg2. This will speed up our work and I've fixed yesterday all potential problems with no-reloc for BAT on dg2.

Please trigger a re-test on this to compare to a recent drm-tip. It would be bad if this then blocks the execution of other tests and we drop the pass and execution rates.

Lucas De Marchi

#5 lore raw
In reply to Zbigniew Kempczyński
Quoted 12 lines · Zbigniew Kempczyński

This reverts commit 904ebf2ba89edaeba5c7c10540e43dba63541dc6.

Failures on dg2 tests were caused by invalid alignment when local memory was in use. Changes which adopt alignment according to gen were already merged in IGT so lets revert relocation temporary enabler for dg2. Keeping it is a little bit problematic for IGT because on premerge we would see results with kernel which supports relocation. To see no-relocation results we need to send disabler (like this revert), point IGT with "Test-with" tag what is cumbersome and time consuming so lets do this permanently. If we will see some failures they need to be fixed instead of keeping relocation enabler.

Quoted 6 lines
Cc Lucas De Marchi <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Jason Ekstrand <[email protected]>
Cc Rodrigo Vivi <[email protected]>

thanks. I double checked BAT and things seem to be equivalent now without that hack. I removed it from topic/core-for-CI.

How are we with the igt tests executed in full run?

thanks
Lucas De Marchi

Quoted 20 lines

---
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +1 -1
index 42a49fd2f2ab..8b0b4aeb6716 100644
@@ -501,7 +501,7 @@ static bool platform_has_relocs_enabled(const struct i915_execbuffer *eb)
 	 */
 	if (GRAPHICS_VER(eb->i915) < 12 || IS_TIGERLAKE(eb->i915) ||
 	    IS_ROCKETLAKE(eb->i915) || IS_ALDERLAKE_S(eb->i915) ||
-	    IS_ALDERLAKE_P(eb->i915) || IS_DG2(eb->i915))
+	    IS_ALDERLAKE_P(eb->i915))
 		return true;
 
 	return false;
Signature · 1 line
2.32.0
#6 lore raw
Quoted 20 lines · Lucas De Marchi
Quoted 12 lines · Zbigniew Kempczyński

This reverts commit 904ebf2ba89edaeba5c7c10540e43dba63541dc6.

Failures on dg2 tests were caused by invalid alignment when local memory was in use. Changes which adopt alignment according to gen were already merged in IGT so lets revert relocation temporary enabler for dg2. Keeping it is a little bit problematic for IGT because on premerge we would see results with kernel which supports relocation. To see no-relocation results we need to send disabler (like this revert), point IGT with "Test-with" tag what is cumbersome and time consuming so lets do this permanently. If we will see some failures they need to be fixed instead of keeping relocation enabler.

Quoted 6 lines
Cc Lucas De Marchi <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Jason Ekstrand <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Quoted 4 lines

thanks. I double checked BAT and things seem to be equivalent now without that hack. I removed it from topic/core-for-CI.

How are we with the igt tests executed in full run?

ping?

Also, we still have this exception for ADL-P, ADL-S and RKL. Should we go ahead and try removing them?

Lucas De Marchi

#7 lore raw
Quoted 24 lines · Lucas De Marchi
Quoted 23 lines · Lucas De Marchi
Quoted 12 lines · Zbigniew Kempczyński

This reverts commit 904ebf2ba89edaeba5c7c10540e43dba63541dc6.

Failures on dg2 tests were caused by invalid alignment when local memory was in use. Changes which adopt alignment according to gen were already merged in IGT so lets revert relocation temporary enabler for dg2. Keeping it is a little bit problematic for IGT because on premerge we would see results with kernel which supports relocation. To see no-relocation results we need to send disabler (like this revert), point IGT with "Test-with" tag what is cumbersome and time consuming so lets do this permanently. If we will see some failures they need to be fixed instead of keeping relocation enabler.

Quoted 6 lines
Cc Lucas De Marchi <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Jason Ekstrand <[email protected]>
Cc Rodrigo Vivi <[email protected]>

thanks. I double checked BAT and things seem to be equivalent now without that hack. I removed it from topic/core-for-CI.

Quoted 8 lines
Quoted 1 line

How are we with the igt tests executed in full run?

ping?

Also, we still have this exception for ADL-P, ADL-S and RKL. Should we go ahead and try removing them?

Lucas De Marchi

Yes, please drop ADL*/RKL patch in core-for-CI.

--
Zbigniew