Skip to contentSkip to conversation

drm/i915: Only set bind_async_flags when concurrent access wa is not active.

PATCH New Maarten Lankhorst 2 participants 3 messages May 25, 2021

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

PATCH 1/1 drm/i915: Only set bind_async_flags when concurrent access wa is not active.

---
 drivers/gpu/drm/i915/gt/gen6_ppgtt.c | 4 +++-
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/gt/gen6_ppgtt.c +3 -1
index 1aee5e6b1b23..de3aa79b788e 100644
@@ -433,7 +433,9 @@ struct i915_ppgtt *gen6_ppgtt_create(struct intel_gt *gt)
 	ppgtt->base.vm.pd_shift = ilog2(SZ_4K * SZ_4K / sizeof(gen6_pte_t));
 	ppgtt->base.vm.top = 1;
 
-	ppgtt->base.vm.bind_async_flags = I915_VMA_LOCAL_BIND;
+	if (!intel_vm_no_concurrent_access_wa(gt->i915))
+		ppgtt->base.vm.bind_async_flags = I915_VMA_LOCAL_BIND;
+
 	ppgtt->base.vm.allocate_va_range = gen6_alloc_va_range;
 	ppgtt->base.vm.clear_range = gen6_ppgtt_clear_range;
 	ppgtt->base.vm.insert_entries = gen6_ppgtt_insert_entries;
drivers/gpu/drm/i915/gt/gen8_ppgtt.c +3 -1
index e3a8924d2286..aa58b0e48ae1 100644
@@ -732,7 +732,9 @@ struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt)
 			goto err_free_pd;
 	}
 
-	ppgtt->vm.bind_async_flags = I915_VMA_LOCAL_BIND;
+	if (!intel_vm_no_concurrent_access_wa(gt->i915))
+		ppgtt->vm.bind_async_flags = I915_VMA_LOCAL_BIND;
+
 	ppgtt->vm.insert_entries = gen8_ppgtt_insert;
 	ppgtt->vm.allocate_va_range = gen8_ppgtt_alloc;
 	ppgtt->vm.clear_range = gen8_ppgtt_clear;
Signature · 6 lines
2.31.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Only set bind_async_flags when concurrent access wa is not active. (rev2)

== Series Details ==

== Series Details ==

Series: drm/i915: Only set bind_async_flags when concurrent access wa is not active. (rev2)
URL : https://patchwork.freedesktop.org/series/89961/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
5fb956b70434 drm/i915: Only set bind_async_flags when concurrent access wa is not active.
-:8: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

total: 0 errors, 1 warnings, 0 checks, 20 lines checked

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Only set bind_async_flags when concurrent access wa is not active. (rev2)

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: drm/i915: Only set bind_async_flags when concurrent access wa is not active. (rev2)
URL : https://patchwork.freedesktop.org/series/89961/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10130 -> Patchwork_20186
====================================================

Summary
-------

**FAILURE**

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

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

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

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

### IGT changes ###

#### Possible regressions ####

* igt@gem_busy@busy@all:
- fi-bsw-kefka: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-bsw-kefka/igt@gem_busy@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-bsw-kefka/igt@gem_busy@[email protected]
- fi-bsw-nick: [PASS][3] -> [DMESG-FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-bsw-nick/igt@gem_busy@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-bsw-nick/igt@gem_busy@[email protected]
- fi-apl-guc: [PASS][5] -> [DMESG-FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-apl-guc/igt@gem_busy@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-apl-guc/igt@gem_busy@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@i915_pm_rpm@module-reload:
- fi-kbl-soraka: [PASS][7] -> [DMESG-WARN][8] ([i915#1982])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-kbl-soraka/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-kbl-soraka/igt@[email protected]

#### Warnings ####

* igt@i915_selftest@live@execlists:
- fi-cfl-8109u: [INCOMPLETE][9] ([i915#3462]) -> [DMESG-FAIL][10] ([i915#3462])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-cfl-8109u/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-cfl-8109u/igt@i915_selftest@[email protected]

* igt@runner@aborted:
- fi-bsw-kefka: [FAIL][11] ([fdo#109271] / [i915#1436]) -> [FAIL][12] ([i915#2722])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-bsw-kefka/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-bsw-kefka/igt@[email protected]
- fi-cfl-8109u: [FAIL][13] ([i915#3363]) -> [FAIL][14] ([i915#2426] / [i915#3363])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-cfl-8109u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-cfl-8109u/igt@[email protected]
- fi-bsw-nick: [FAIL][15] ([fdo#109271] / [i915#1436]) -> [FAIL][16] ([i915#2722])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-bsw-nick/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-bsw-nick/igt@[email protected]
- fi-apl-guc: [FAIL][17] ([i915#2426] / [i915#3363]) -> [FAIL][18] ([i915#2722] / [i915#3363])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-apl-guc/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-apl-guc/igt@[email protected]
- fi-bdw-5557u: [FAIL][19] ([i915#2426] / [i915#3462]) -> [FAIL][20] ([i915#3462])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-bdw-5557u/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-bdw-5557u/igt@[email protected]
- fi-kbl-soraka: [FAIL][21] ([i915#1436] / [i915#2426] / [i915#3363]) -> [FAIL][22] ([i915#1436] / [i915#3363])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-kbl-soraka/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-kbl-soraka/igt@[email protected]
- fi-cml-u2: [FAIL][23] ([i915#2082] / [i915#2426] / [i915#3363] / [i915#3462]) -> [FAIL][24] ([i915#3363] / [i915#3462])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-cml-u2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-cml-u2/igt@[email protected]
- fi-cfl-guc: [FAIL][25] ([i915#2426] / [i915#3363]) -> [FAIL][26] ([i915#3363])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-cfl-guc/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-cfl-guc/igt@[email protected]
- fi-kbl-7567u: [FAIL][27] ([i915#1436] / [i915#3363]) -> [FAIL][28] ([i915#1436] / [i915#2426] / [i915#3363])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10130/fi-kbl-7567u/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20186/fi-kbl-7567u/igt@[email protected]

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2082]: https://gitlab.freedesktop.org/drm/intel/issues/2082
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3462]: https://gitlab.freedesktop.org/drm/intel/issues/3462

Participating hosts (47 -> 41)
------------------------------

Missing (6): fi-ilk-m540 fi-hsw-4200u fi-bsw-n3050 fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus

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

* Linux: CI_DRM_10130 -> Patchwork_20186

CI-20190529: 20190529
CI_DRM_10130: 54ed0641087e2c7c4f8693a10fc19fe91ec85dc9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6092: d87087c321da07035d4f96d98c34e451b3ccb809 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_20186: 5fb956b704345451636e62b59eba1158ed73a9bc @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

5fb956b70434 drm/i915: Only set bind_async_flags when concurrent access wa is not active.

== Logs ==

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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx